| Modifier and Type | Method and Description |
|---|---|
static Property |
Property.newProperty(TypeRef typeRef,
String name) |
Property |
Property.withErasure()
Get the property after the type erasure is applied.
|
protected Property |
Property.withoutModiers()
This is only used for rendering method arguments, where we usually string modifiers.
|
| Modifier and Type | Method and Description |
|---|---|
List<Property> |
Method.getArguments() |
List<Property> |
TypeDef.getProperties() |
| Modifier and Type | Method and Description |
|---|---|
static Method |
Method.newMethod(String name,
TypeRef returnType,
boolean varArgPrefered,
Property... arguments) |
static Method |
Method.newMethod(String name,
TypeRef returnType,
Property... arguments) |
| Constructor and Description |
|---|
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) |
TypeDef(Kind kind,
String packageName,
String name,
List<String> comments,
List<AnnotationRef> annotations,
List<ClassRef> extendsList,
List<ClassRef> implementsList,
List<TypeParamDef> parameters,
List<Property> properties,
List<Method> constructors,
List<Method> methods,
String outerTypeName,
List<TypeDef> innerTypes,
Modifiers modifiers,
Map<AttributeKey,Object> attributes) |
Copyright © 2023. All rights reserved.