Modifier and type | Action and description |
---|---|
void | addSetter(MutableFieldDeclaration,Visibility) |
protected java.lang.Object | fieldOwner(MutableFieldDeclaration) Replies the owner of the given field. |
protected boolean | isInheritedVarargMethod(MutableTypeDeclaration,String,TypeReference) Replies if the given method is inherited from a supertype and considered the varargs arguments. |
protected org.eclipse.xtend.lib.macro.declaration.TypeReference | orObject(TypeReference) Replies the given reference if it not null , or the Object type if it is null . |
new(TransformationContext)
def addSetter(MutableFieldDeclaration,Visibility)
protected def fieldOwner(MutableFieldDeclaration) : java.lang.Object
this
or the class (if the field is static).
protected def isInheritedVarargMethod(MutableTypeDeclaration,String,TypeReference) : boolean
protected def orObject(TypeReference) : org.eclipse.xtend.lib.macro.declaration.TypeReference
null
, or the Object type if it is null
.