| Modifier and Type | Class and Description |
|---|---|
class |
ClassRef |
class |
PrimitiveRef |
class |
TypeParamRef |
class |
VoidRef |
class |
WildcardRef |
| Modifier and Type | Method and Description |
|---|---|
TypeRef |
Method.getReturnType() |
TypeRef |
Cast.getType() |
TypeRef |
NewArray.getType() |
TypeRef |
Property.getTypeRef() |
abstract TypeRef |
TypeRef.withDimensions(int dimensions) |
TypeRef |
WildcardRef.withDimensions(int dimensions) |
TypeRef |
VoidRef.withDimensions(int dimensions) |
| Modifier and Type | Method and Description |
|---|---|
List<TypeRef> |
ClassRef.getArguments() |
List<TypeRef> |
WildcardRef.getBounds() |
List<TypeRef> |
Construct.getParameters() |
List<TypeRef> |
MethodCall.getParameters() |
| Modifier and Type | Method and Description |
|---|---|
static MethodCall |
Expression.call(TypeRef type,
String name,
Expression... expression) |
default Expression |
Expression.cast(TypeRef type) |
static Expression |
Expression.cast(TypeRef type,
Expression expression) |
static NewArray |
Expression.createNewArray(TypeRef type,
Expression... expressions) |
static NewArray |
Expression.createNewArray(TypeRef type,
Integer... sizes) |
boolean |
VoidRef.isAssignableFrom(TypeRef ref) |
static Method |
Method.newMethod(String name,
TypeRef returnType,
boolean varArgPrefered,
Property... arguments) |
static Method |
Method.newMethod(String name,
TypeRef returnType,
Property... arguments) |
static Property |
Property.newProperty(TypeRef typeRef,
String name) |
default Expression |
Expression.property(TypeRef type,
String name) |
ClassRef |
TypeDef.toReference(TypeRef... arguments)
Creates a
ClassRef for the current definition with the specified arguments. |
| Modifier and Type | Method and Description |
|---|---|
ClassRef |
TypeDef.toReference(Collection<TypeRef> arguments)
Creates a
ClassRef for the current definition with the specified arguments. |
ClassRef |
TypeDef.toReference(List<TypeRef> arguments)
Creates a
ClassRef for the current definition with the specified arguments. |
| Constructor and Description |
|---|
Cast(TypeRef type,
Expression expression) |
Method(List<String> comments,
List<AnnotationRef> annotations,
List<TypeParamDef> parameters,
String name,
TypeRef returnType,
List<Property> arguments,
boolean varArgPreferred,
List<ClassRef> exceptions,
boolean defaultMethod,
Block block,
Modifiers modifiers,
Map<AttributeKey,Object> attributes) |
NewArray(TypeRef type,
Expression... expressions) |
NewArray(TypeRef type,
Integer... sizes) |
NewArray(TypeRef type,
List<Expression> expressions) |
Property(List<AnnotationRef> annotations,
TypeRef typeRef,
String name,
List<String> comments,
boolean enumConstant,
boolean synthetic,
Modifiers modifiers,
Map<AttributeKey,Object> attributes)
Deprecated.
|
Property(List<AnnotationRef> annotations,
TypeRef typeRef,
String name,
List<String> comments,
Modifiers modifiers,
Map<AttributeKey,Object> attributes)
Deprecated.
|
Property(Modifiers modifiers,
Map<AttributeKey,Object> attributes,
List<String> comments,
List<AnnotationRef> annotations,
TypeRef typeRef,
String name,
Optional<Expression> initialValue,
boolean enumConstant,
boolean synthetic) |
PropertyRef(TypeRef type,
String name,
Expression scope) |
| Constructor and Description |
|---|
ClassRef(String fullyQualifiedName,
int dimensions,
List<TypeRef> arguments,
Map<AttributeKey,Object> attributes) |
Construct(Class type,
List<TypeRef> parameters,
List<Expression> arguments) |
Construct(ClassRef type,
List<TypeRef> parameters,
List<Expression> arguments) |
MethodCall(String name,
Expression scope,
List<TypeRef> parameters,
List<Expression> arguments) |
WildcardRef(WildcardRef.BoundKind boundKind,
List<TypeRef> bounds,
Map<AttributeKey,Object> attributes) |
Copyright © 2023. All rights reserved.