@Beta public static class FinalFieldsConstructorProcessor.Util extends Object
| Constructor and Description |
|---|
FinalFieldsConstructorProcessor.Util(TransformationContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
addFinalFieldsConstructor(MutableClassDeclaration it) |
String |
getConstructorAlreadyExistsMessage(MutableTypeDeclaration it) |
Iterable<? extends MutableFieldDeclaration> |
getFinalFields(MutableTypeDeclaration it) |
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 Iterable<? extends MutableFieldDeclaration> getFinalFields(MutableTypeDeclaration it)
public boolean needsFinalFieldConstructor(MutableClassDeclaration it)
public boolean hasFinalFieldsConstructor(MutableTypeDeclaration cls)
public ArrayList<TypeReference> getFinalFieldsConstructorArgumentTypes(MutableTypeDeclaration cls)
public String getConstructorAlreadyExistsMessage(MutableTypeDeclaration it)
public void addFinalFieldsConstructor(MutableClassDeclaration it)
public void makeFinalFieldsConstructor(MutableConstructorDeclaration it)
public ResolvedConstructor getSuperConstructor(TypeDeclaration it)
Copyright © 2015. All Rights Reserved.