Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
S
- SAME_PARAMETER_VALUE - Enum constant in enum class org.tquadrat.foundation.javacomposer.SuppressableWarnings
-
A method is called with always the same argument.
- SERIAL - Enum constant in enum class org.tquadrat.foundation.javacomposer.SuppressableWarnings
-
The
SerialVersionUID
for a serialisable class is missing. - setMaxFields(int) - Method in class org.tquadrat.foundation.javacomposer.JavaComposer
-
Sets the maximum number of fields for a class.
- setMaxMethods(int) - Method in class org.tquadrat.foundation.javacomposer.JavaComposer
-
Sets the maximum number of methods for a class.
- SHORT - Static variable in class org.tquadrat.foundation.javacomposer.Primitives
-
The type name for
short
. - SHORT_PRIMITIVE - Static variable in class org.tquadrat.foundation.javacomposer.internal.TypeNameImpl
-
The type name for
short
. - signature() - Method in class org.tquadrat.foundation.javacomposer.internal.MethodSpecImpl
-
Returns the signature for this method.
- signature() - Method in interface org.tquadrat.foundation.javacomposer.MethodSpec
-
Returns the signature for this method.
- simpleName() - Method in interface org.tquadrat.foundation.javacomposer.ClassName
-
Returns the simple name of this class, like
Entry
forjava.util.Map.Entry
. - simpleName() - Method in class org.tquadrat.foundation.javacomposer.internal.ClassNameImpl
-
Returns the simple name of this class, like
Entry
forjava.util.Map.Entry
. - simpleNames() - Method in interface org.tquadrat.foundation.javacomposer.ClassName
-
Returns a list of the simple names for this nesting group.
- simpleNames() - Method in class org.tquadrat.foundation.javacomposer.internal.ClassNameImpl
-
Returns a list of the simple names for this nesting group.
- SIMPLIFY_STREAM_API_CALL_CHAIN - Enum constant in enum class org.tquadrat.foundation.javacomposer.SuppressableWarnings
-
The
SerialVersionUID
for a serialisable class is missing. - skipJavaLangImports() - Method in class org.tquadrat.foundation.javacomposer.internal.JavaFileImpl.BuilderImpl
-
Returns the flag that rules whether imports for classes from the package
java.lang
will be omitted. - skipJavaLangImports(boolean) - Method in class org.tquadrat.foundation.javacomposer.internal.JavaFileImpl.BuilderImpl
- skipJavaLangImports(boolean) - Method in interface org.tquadrat.foundation.javacomposer.JavaFile.Builder
- SPACE - Enum constant in enum class org.tquadrat.foundation.javacomposer.internal.LineWrapper.FlushType
-
Add a single blank space.
- stackClassName(int, String) - Method in class org.tquadrat.foundation.javacomposer.internal.CodeWriter
-
Returns the class named
simpleName
when nested in the class atstackDepth
. - statementLine() - Method in class org.tquadrat.foundation.javacomposer.internal.CodeWriter
-
Returns the current statement line.
- statementLine(int) - Method in class org.tquadrat.foundation.javacomposer.internal.CodeWriter
-
Sets the current statement line.
- statementOf(String, Object...) - Method in class org.tquadrat.foundation.javacomposer.JavaComposer
-
Creates a new
CodeBlock
instance from the given format and arguments, usingCodeBlock.Builder.addStatement(String, Object...)
. - STATIC_METHOD_ONLY_USED_IN_ONE_CLASS - Enum constant in enum class org.tquadrat.foundation.javacomposer.SuppressableWarnings
-
A static method is one class is exclusively called by one single other class.
- staticImports() - Method in class org.tquadrat.foundation.javacomposer.internal.JavaFileImpl.BuilderImpl
-
Returns the static imports.
- stringLiteralWithDoubleQuotes(String, String) - Static method in class org.tquadrat.foundation.javacomposer.internal.Util
-
Returns the Java String literal representing
value
, including escaping double quotes. - subtypeOf(Type) - Static method in class org.tquadrat.foundation.javacomposer.internal.WildcardTypeNameImpl
-
Returns a subtype for the given type.
- subtypeOf(Type) - Static method in interface org.tquadrat.foundation.javacomposer.WildcardTypeName
-
Returns a subtype for the given type.
- subtypeOf(TypeName) - Static method in class org.tquadrat.foundation.javacomposer.internal.WildcardTypeNameImpl
-
Returns a type that represents an unknown type that extends the given type.
- subtypeOf(TypeName) - Static method in interface org.tquadrat.foundation.javacomposer.WildcardTypeName
-
Returns a type that represents an unknown type that extends the given type.
- suggestedImports() - Method in class org.tquadrat.foundation.javacomposer.internal.CodeWriter
-
Returns the types that should have been imported for this code.
- superclass(Type) - Method in class org.tquadrat.foundation.javacomposer.internal.TypeSpecImpl.BuilderImpl
-
Sets the superclass for the type.
- superclass(Type) - Method in interface org.tquadrat.foundation.javacomposer.TypeSpec.Builder
-
Sets the superclass for the type.
- superclass(TypeName) - Method in class org.tquadrat.foundation.javacomposer.internal.AnnotationTypeSpecImpl.BuilderImpl
-
Sets the superclass for the type.
- superclass(TypeName) - Method in class org.tquadrat.foundation.javacomposer.internal.ClassSpecImpl.BuilderImpl
-
Sets the superclass for the type.
- superclass(TypeName) - Method in class org.tquadrat.foundation.javacomposer.internal.EnumSpecImpl.BuilderImpl
-
Sets the superclass for the type.
- superclass(TypeName) - Method in class org.tquadrat.foundation.javacomposer.internal.InterfaceSpecImpl.BuilderImpl
-
Sets the superclass for the type.
- superclass(TypeName) - Method in class org.tquadrat.foundation.javacomposer.internal.RecordSpecImpl.BuilderImpl
-
Sets the superclass for the type.
- superclass(TypeName) - Method in class org.tquadrat.foundation.javacomposer.internal.TypeSpecImpl.BuilderImpl
-
Sets the superclass for the type.
- superclass(TypeName) - Method in interface org.tquadrat.foundation.javacomposer.TypeSpec.Builder
-
Sets the superclass for the type.
- supertypeOf(Type) - Static method in class org.tquadrat.foundation.javacomposer.internal.WildcardTypeNameImpl
-
Returns a super type for the given type.
- supertypeOf(Type) - Static method in interface org.tquadrat.foundation.javacomposer.WildcardTypeName
-
Returns a super type for the given type.
- supertypeOf(TypeName) - Static method in class org.tquadrat.foundation.javacomposer.internal.WildcardTypeNameImpl
-
Returns a type that represents an unknown supertype of the given type.
- supertypeOf(TypeName) - Static method in interface org.tquadrat.foundation.javacomposer.WildcardTypeName
-
Returns a type that represents an unknown supertype of the given type.
- SuppressableWarnings - Enum Class in org.tquadrat.foundation.javacomposer
-
Warnings that can be suppressed with the
@SuppressWarnings
annotation. - SuppressableWarnings(String) - Constructor for enum class org.tquadrat.foundation.javacomposer.SuppressableWarnings
-
Creates a new
SuppressableWarnings
instance. - SUSPICIOUS_TO_ARRAY_CALL - Enum constant in enum class org.tquadrat.foundation.javacomposer.SuppressableWarnings
-
The type of the argument to the
toArray()
method is unexpected.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form