| Package | Description |
|---|---|
| io.sundr.codegen | |
| io.sundr.codegen.converters | |
| io.sundr.codegen.converters.parser | |
| io.sundr.codegen.functions | |
| io.sundr.codegen.model | |
| io.sundr.codegen.utils |
| Modifier and Type | Field and Description |
|---|---|
static TypeRef |
Constants.BOOLEAN_REF |
static TypeRef[] |
Constants.BOXED_PRIMITIVE_TYPES |
static TypeRef |
Constants.INT_REF |
static TypeRef |
Constants.PRIMITIVE_BOOLEAN_REF |
static TypeRef[] |
Constants.PRIMITIVE_TYPES |
| Modifier and Type | Method and Description |
|---|---|
TypeDef |
DefinitionRepository.getDefinition(TypeRef type) |
| Modifier and Type | Method and Description |
|---|---|
TypeRef |
TypeRefTypeVisitor.visitArray(javax.lang.model.type.ArrayType t,
java.lang.Integer dimension) |
TypeRef |
TypeRefTypeVisitor.visitDeclared(javax.lang.model.type.DeclaredType t,
java.lang.Integer dimension) |
TypeRef |
TypeRefTypeVisitor.visitError(javax.lang.model.type.ErrorType t,
java.lang.Integer dimension) |
TypeRef |
TypeRefTypeVisitor.visitExecutable(javax.lang.model.type.ExecutableType t,
java.lang.Integer dimension) |
TypeRef |
TypeRefTypeVisitor.visitNoType(javax.lang.model.type.NoType t,
java.lang.Integer dimension) |
TypeRef |
TypeRefTypeVisitor.visitNull(javax.lang.model.type.NullType t,
java.lang.Integer dimension) |
TypeRef |
TypeRefTypeVisitor.visitPrimitive(javax.lang.model.type.PrimitiveType t,
java.lang.Integer dimension) |
TypeRef |
TypeRefTypeVisitor.visitTypeVariable(javax.lang.model.type.TypeVariable t,
java.lang.Integer dimension) |
TypeRef |
TypeRefTypeVisitor.visitUnknown(javax.lang.model.type.TypeMirror t,
java.lang.Integer dimension) |
TypeRef |
TypeRefTypeVisitor.visitWildcard(javax.lang.model.type.WildcardType t,
java.lang.Integer dimension) |
| Modifier and Type | Method and Description |
|---|---|
TypeRef |
TypeParameterToJavaType.apply(com.github.javaparser.ast.TypeParameter item) |
| Modifier and Type | Field and Description |
|---|---|
static Function<TypeRef,java.lang.Boolean> |
Collections.IS_COLLECTION |
static Function<TypeRef,java.lang.Boolean> |
Collections.IS_LIST |
static Function<TypeRef,java.lang.Boolean> |
Collections.IS_MAP |
static Function<TypeRef,java.lang.Boolean> |
Optionals.IS_OPTIONAL |
static Function<TypeRef,java.lang.Boolean> |
Optionals.IS_OPTIONAL_DOUBLE |
static Function<TypeRef,java.lang.Boolean> |
Optionals.IS_OPTIONAL_INT |
static Function<TypeRef,java.lang.Boolean> |
Optionals.IS_OPTIONAL_LONG |
static Function<TypeRef,java.lang.Boolean> |
Collections.IS_SET |
static Function<javax.lang.model.type.TypeMirror,TypeRef> |
ElementTo.MIRROR_TO_TYPEREF |
static Function<java.lang.reflect.Type,TypeRef> |
ClassTo.TYPEREF |
| Modifier and Type | Class and Description |
|---|---|
class |
ClassRef |
class |
EditableClassRef |
class |
EditablePrimitiveRef |
class |
EditableTypeParamRef |
class |
EditableVoidRef |
class |
EditableWildcardRef |
class |
PrimitiveRef |
class |
TypeParamRef |
class |
VoidRef |
class |
WildcardRef |
| Modifier and Type | Method and Description |
|---|---|
TypeRef |
ClassRefFluent.buildArgument(int index) |
TypeRef |
ClassRefFluentImpl.buildArgument(int index) |
TypeRef |
WildcardRefFluentImpl.buildBound(int index) |
TypeRef |
WildcardRefFluent.buildBound(int index) |
TypeRef |
ClassRefFluent.buildFirstArgument() |
TypeRef |
ClassRefFluentImpl.buildFirstArgument() |
TypeRef |
WildcardRefFluentImpl.buildFirstBound() |
TypeRef |
WildcardRefFluent.buildFirstBound() |
TypeRef |
ClassRefFluent.buildLastArgument() |
TypeRef |
ClassRefFluentImpl.buildLastArgument() |
TypeRef |
WildcardRefFluentImpl.buildLastBound() |
TypeRef |
WildcardRefFluent.buildLastBound() |
TypeRef |
ClassRefFluent.buildMatchingArgument(Predicate<Builder<? extends TypeRef>> predicate) |
TypeRef |
ClassRefFluentImpl.buildMatchingArgument(Predicate<Builder<? extends TypeRef>> predicate) |
TypeRef |
WildcardRefFluentImpl.buildMatchingBound(Predicate<Builder<? extends TypeRef>> predicate) |
TypeRef |
WildcardRefFluent.buildMatchingBound(Predicate<Builder<? extends TypeRef>> predicate) |
TypeRef |
MethodFluentImpl.buildReturnType() |
TypeRef |
MethodFluent.buildReturnType() |
TypeRef |
PropertyFluentImpl.buildTypeRef() |
TypeRef |
PropertyFluent.buildTypeRef() |
TypeRef |
Method.getReturnType() |
TypeRef |
MethodFluentImpl.getReturnType()
Deprecated.
|
TypeRef |
MethodFluent.getReturnType()
Deprecated.
|
TypeRef |
PropertyFluentImpl.getTypeRef()
Deprecated.
|
TypeRef |
PropertyFluent.getTypeRef()
Deprecated.
|
TypeRef |
Property.getTypeRef() |
TypeRef |
VoidRef.withDimensions(int dimensions) |
abstract TypeRef |
TypeRef.withDimensions(int dimensions) |
TypeRef |
WildcardRef.withDimensions(int dimensions) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<TypeRef> |
ClassRefFluent.buildArguments() |
java.util.List<TypeRef> |
ClassRefFluentImpl.buildArguments() |
java.util.List<TypeRef> |
WildcardRefFluentImpl.buildBounds() |
java.util.List<TypeRef> |
WildcardRefFluent.buildBounds() |
java.util.List<TypeRef> |
ClassRefFluent.getArguments()
Deprecated.
|
java.util.List<TypeRef> |
ClassRef.getArguments() |
java.util.List<TypeRef> |
ClassRefFluentImpl.getArguments()
Deprecated.
|
java.util.List<TypeRef> |
WildcardRefFluentImpl.getBounds()
Deprecated.
|
java.util.List<TypeRef> |
WildcardRefFluent.getBounds()
Deprecated.
|
java.util.List<TypeRef> |
WildcardRef.getBounds() |
| Modifier and Type | Method and Description |
|---|---|
A |
ClassRefFluent.addToArguments(int index,
TypeRef item) |
A |
ClassRefFluentImpl.addToArguments(int index,
TypeRef item) |
A |
ClassRefFluent.addToArguments(TypeRef... items) |
A |
ClassRefFluentImpl.addToArguments(TypeRef... items) |
A |
WildcardRefFluentImpl.addToBounds(int index,
TypeRef item) |
A |
WildcardRefFluent.addToBounds(int index,
TypeRef item) |
A |
WildcardRefFluentImpl.addToBounds(TypeRef... items) |
A |
WildcardRefFluent.addToBounds(TypeRef... items) |
boolean |
VoidRef.isAssignableFrom(TypeRef ref) |
abstract boolean |
TypeRef.isAssignableFrom(TypeRef ref) |
boolean |
PrimitiveRef.isAssignableFrom(TypeRef o) |
boolean |
TypeParamRef.isAssignableFrom(TypeRef ref) |
boolean |
ClassRef.isAssignableFrom(TypeRef other) |
boolean |
WildcardRef.isAssignableFrom(TypeRef ref) |
A |
ClassRefFluent.removeFromArguments(TypeRef... items) |
A |
ClassRefFluentImpl.removeFromArguments(TypeRef... items) |
A |
WildcardRefFluentImpl.removeFromBounds(TypeRef... items) |
A |
WildcardRefFluent.removeFromBounds(TypeRef... items) |
A |
ClassRefFluent.setToArguments(int index,
TypeRef item) |
A |
ClassRefFluentImpl.setToArguments(int index,
TypeRef item) |
A |
WildcardRefFluentImpl.setToBounds(int index,
TypeRef item) |
A |
WildcardRefFluent.setToBounds(int index,
TypeRef item) |
ClassRef |
TypeDef.toReference(TypeRef... arguments)
Creates a
ClassRef for the current definition with the specified arguments. |
A |
ClassRefFluent.withArguments(TypeRef... arguments) |
A |
ClassRefFluentImpl.withArguments(TypeRef... arguments) |
A |
WildcardRefFluentImpl.withBounds(TypeRef... bounds) |
A |
WildcardRefFluent.withBounds(TypeRef... bounds) |
A |
MethodFluentImpl.withReturnType(TypeRef returnType) |
A |
MethodFluent.withReturnType(TypeRef returnType) |
A |
PropertyFluentImpl.withTypeRef(TypeRef typeRef) |
A |
PropertyFluent.withTypeRef(TypeRef typeRef) |
| Modifier and Type | Method and Description |
|---|---|
A |
ClassRefFluent.addAllToArguments(java.util.Collection<TypeRef> items) |
A |
ClassRefFluentImpl.addAllToArguments(java.util.Collection<TypeRef> items) |
A |
WildcardRefFluentImpl.addAllToBounds(java.util.Collection<TypeRef> items) |
A |
WildcardRefFluent.addAllToBounds(java.util.Collection<TypeRef> items) |
TypeRef |
ClassRefFluent.buildMatchingArgument(Predicate<Builder<? extends TypeRef>> predicate) |
TypeRef |
ClassRefFluentImpl.buildMatchingArgument(Predicate<Builder<? extends TypeRef>> predicate) |
TypeRef |
WildcardRefFluentImpl.buildMatchingBound(Predicate<Builder<? extends TypeRef>> predicate) |
TypeRef |
WildcardRefFluent.buildMatchingBound(Predicate<Builder<? extends TypeRef>> predicate) |
A |
ClassRefFluent.removeAllFromArguments(java.util.Collection<TypeRef> items) |
A |
ClassRefFluentImpl.removeAllFromArguments(java.util.Collection<TypeRef> items) |
A |
WildcardRefFluentImpl.removeAllFromBounds(java.util.Collection<TypeRef> items) |
A |
WildcardRefFluent.removeAllFromBounds(java.util.Collection<TypeRef> items) |
ClassRef |
TypeDef.toReference(java.util.Collection<TypeRef> arguments)
Creates a
ClassRef for the current definition with the specified arguments. |
ClassRef |
TypeDef.toReference(java.util.List<TypeRef> arguments)
Creates a
ClassRef for the current definition with the specified arguments. |
A |
ClassRefFluent.withArguments(java.util.List<TypeRef> arguments) |
A |
ClassRefFluentImpl.withArguments(java.util.List<TypeRef> arguments) |
A |
WildcardRefFluentImpl.withBounds(java.util.List<TypeRef> bounds) |
A |
WildcardRefFluent.withBounds(java.util.List<TypeRef> bounds) |
| Constructor and Description |
|---|
EditableMethod(java.util.List<java.lang.String> comments,
java.util.List<AnnotationRef> annotations,
java.util.List<TypeParamDef> parameters,
java.lang.String name,
TypeRef returnType,
java.util.List<Property> arguments,
boolean varArgPreferred,
java.util.List<ClassRef> exceptions,
Block block,
int modifiers,
java.util.Map<AttributeKey,java.lang.Object> attributes) |
EditableProperty(java.util.List<AnnotationRef> annotations,
TypeRef typeRef,
java.lang.String name,
int modifiers,
java.util.Map<AttributeKey,java.lang.Object> attributes) |
Method(java.util.List<java.lang.String> comments,
java.util.List<AnnotationRef> annotations,
java.util.List<TypeParamDef> parameters,
java.lang.String name,
TypeRef returnType,
java.util.List<Property> arguments,
boolean varArgPreferred,
java.util.List<ClassRef> exceptions,
Block block,
int modifiers,
java.util.Map<AttributeKey,java.lang.Object> attributes) |
Property(java.util.List<AnnotationRef> annotations,
TypeRef typeRef,
java.lang.String name,
int modifiers,
java.util.Map<AttributeKey,java.lang.Object> attributes) |
TypeRefFluentImpl(TypeRef instance) |
| Constructor and Description |
|---|
ClassRef(TypeDef definition,
java.lang.String fullyQualifiedName,
int dimensions,
java.util.List<TypeRef> arguments,
java.util.Map<AttributeKey,java.lang.Object> attributes) |
EditableClassRef(TypeDef definition,
java.lang.String fullyQualifiedName,
int dimensions,
java.util.List<TypeRef> arguments,
java.util.Map<AttributeKey,java.lang.Object> attributes) |
EditableWildcardRef(java.util.List<TypeRef> bounds,
java.util.Map<AttributeKey,java.lang.Object> attributes) |
WildcardRef(java.util.List<TypeRef> bounds,
java.util.Map<AttributeKey,java.lang.Object> attributes) |
| Modifier and Type | Method and Description |
|---|---|
static TypeParamDef |
TypeUtils.getParameterDefinition(TypeRef typeRef,
java.util.Collection<TypeParamDef> parameters) |
static boolean |
TypeUtils.isAbstract(TypeRef typeRef)
Checks a
TypeRef is of an abstract type. |
static boolean |
TypeUtils.isArray(TypeRef type)
Checks if a
TypeRef is an array. |
static boolean |
TypeUtils.isBoolean(TypeRef type)
Checks if a
TypeRef is a Boolean or boolean. |
static boolean |
TypeUtils.isCollection(TypeRef type)
Checks if a
TypeRef is a Collection. |
static boolean |
TypeUtils.isInstanceOf(TypeRef type,
TypeDef targetType,
Function<TypeRef,java.lang.Boolean> function)
|
static boolean |
TypeUtils.isList(TypeRef type)
Checks if a
TypeRef is a List. |
static boolean |
TypeUtils.isMap(TypeRef type)
Checks if a
TypeRef is a Map. |
static boolean |
TypeUtils.isOptional(TypeRef type)
Checks if a
TypeRef is a Optional. |
static boolean |
TypeUtils.isOptionalDouble(TypeRef type)
Checks if a
TypeRef is a OptionalDouble. |
static boolean |
TypeUtils.isOptionalInt(TypeRef type)
Checks if a
TypeRef is a OptionalInt. |
static boolean |
TypeUtils.isOptionalLong(TypeRef type)
Checks if a
TypeRef is a OptionalLong. |
static boolean |
TypeUtils.isPrimitive(TypeRef type)
Checks if a
TypeRef is a primitive type. |
static boolean |
TypeUtils.isSet(TypeRef type)
Checks if a
TypeRef is a Set. |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
TypeUtils.isInstanceOf(TypeRef type,
TypeDef targetType,
Function<TypeRef,java.lang.Boolean> function)
|
Copyright © 2018. All Rights Reserved.