| Package | Description |
|---|---|
| org.eclipse.xtend.lib.macro.declaration | |
| org.eclipse.xtend.lib.macro.services |
| Modifier and Type | Interface and Description |
|---|---|
interface |
AnnotationTypeDeclaration |
interface |
ClassDeclaration |
interface |
EnumerationTypeDeclaration |
interface |
InterfaceDeclaration |
interface |
MutableAnnotationTypeDeclaration |
interface |
MutableClassDeclaration |
interface |
MutableEnumerationTypeDeclaration |
interface |
MutableInterfaceDeclaration |
interface |
MutableTypeDeclaration
A mutable type declaration.
|
interface |
MutableTypeParameterDeclaration |
interface |
PrimitiveType |
interface |
TypeDeclaration |
interface |
TypeParameterDeclaration |
interface |
VoidType |
| Modifier and Type | Method and Description |
|---|---|
Type |
TypeReference.getType() |
| Modifier and Type | Method and Description |
|---|---|
AnnotationReference |
AnnotationTarget.findAnnotation(Type annotationType) |
boolean |
Type.isAssignableFrom(Type otherType)
Determines if the type represented by this
Type object is either the same as, or is a supertype of,
the type represented by the specified Type parameter. |
| Modifier and Type | Method and Description |
|---|---|
Type |
GlobalTypeLookup.findTypeGlobally(Class<?> clazz) |
Type |
GlobalTypeLookup.findTypeGlobally(String typeName) |
Type |
UpstreamTypeLookup.findUpstreamType(Class<?> clazz) |
Type |
UpstreamTypeLookup.findUpstreamType(String typeName) |
| Modifier and Type | Method and Description |
|---|---|
AnnotationReference |
AnnotationReferenceProvider.newAnnotationReference(Type annotationTypeDelcaration)
Creates a new annotation reference for the given type declaration.
|
AnnotationReference |
AnnotationReferenceProvider.newAnnotationReference(Type annotationTypeDelcaration,
Procedures.Procedure1<AnnotationReferenceBuildContext> initializer)
Creates a new annotation reference for the given type declaration.
|
TypeReference |
TypeReferenceProvider.newSelfTypeReference(Type typeDeclaration)
Returns a new self type reference for the given typeDeclaration, e.g. if you have a class like
class Foo<T> {}
And you want to add a method that returns the instance itself, you would use the self type as the method's return type.
|
TypeReference |
TypeReferenceProvider.newTypeReference(Type typeDeclaration,
TypeReference... typeArguments)
Creates a new type reference for the given typeDeclaration and the type arguments.
|
Copyright © 2015. All Rights Reserved.