@Beta
public static class FinalFieldsConstructorProcessor.Util
extends java.lang.Object
Constructor and Description |
---|
FinalFieldsConstructorProcessor.Util(TransformationContext context) |
Modifier and Type | Method and Description |
---|---|
void |
addFinalFieldsConstructor(MutableClassDeclaration it) |
java.lang.String |
getConstructorAlreadyExistsMessage(MutableTypeDeclaration it) |
java.lang.Iterable<? extends MutableFieldDeclaration> |
getFinalFields(MutableTypeDeclaration it) |
java.util.ArrayList<TypeReference> |
getFinalFieldsConstructorArgumentTypes(MutableTypeDeclaration cls) |
ResolvedConstructor |
getSuperConstructor(TypeDeclaration it) |
boolean |
hasFinalFieldsConstructor(MutableTypeDeclaration cls) |
void |
makeFinalFieldsConstructor(MutableConstructorDeclaration it) |
boolean |
needsFinalFieldConstructor(MutableClassDeclaration it) |
public FinalFieldsConstructorProcessor.Util(TransformationContext context)
public java.lang.Iterable<? extends MutableFieldDeclaration> getFinalFields(MutableTypeDeclaration it)
public boolean needsFinalFieldConstructor(MutableClassDeclaration it)
public boolean hasFinalFieldsConstructor(MutableTypeDeclaration cls)
public java.util.ArrayList<TypeReference> getFinalFieldsConstructorArgumentTypes(MutableTypeDeclaration cls)
public java.lang.String getConstructorAlreadyExistsMessage(MutableTypeDeclaration it)
public void addFinalFieldsConstructor(MutableClassDeclaration it)
public void makeFinalFieldsConstructor(MutableConstructorDeclaration it)
public ResolvedConstructor getSuperConstructor(TypeDeclaration it)