Package | Description |
---|---|
io.sundr.codegen.functions | |
io.sundr.codegen.model | |
io.sundr.codegen.utils |
Modifier and Type | Field and Description |
---|---|
static Function<ExecutableElement,Method> |
ElementTo.METHOD |
Modifier and Type | Class and Description |
---|---|
class |
EditableMethod |
Modifier and Type | Method and Description |
---|---|
Method |
TypeDefFluentImpl.buildConstructor(int index) |
Method |
TypeDefFluent.buildConstructor(int index) |
Method |
TypeDefFluentImpl.buildFirstConstructor() |
Method |
TypeDefFluent.buildFirstConstructor() |
Method |
TypeDefFluentImpl.buildFirstMethod() |
Method |
TypeDefFluent.buildFirstMethod() |
Method |
TypeDefFluentImpl.buildLastConstructor() |
Method |
TypeDefFluent.buildLastConstructor() |
Method |
TypeDefFluentImpl.buildLastMethod() |
Method |
TypeDefFluent.buildLastMethod() |
Method |
TypeDefFluentImpl.buildMatchingConstructor(Predicate<MethodBuilder> predicate) |
Method |
TypeDefFluent.buildMatchingConstructor(Predicate<MethodBuilder> predicate) |
Method |
TypeDefFluentImpl.buildMatchingMethod(Predicate<MethodBuilder> predicate) |
Method |
TypeDefFluent.buildMatchingMethod(Predicate<MethodBuilder> predicate) |
Method |
TypeDefFluentImpl.buildMethod(int index) |
Method |
TypeDefFluent.buildMethod(int index) |
Modifier and Type | Method and Description |
---|---|
List<Method> |
TypeDefFluentImpl.buildConstructors() |
List<Method> |
TypeDefFluent.buildConstructors() |
List<Method> |
TypeDefFluentImpl.buildMethods() |
List<Method> |
TypeDefFluent.buildMethods() |
List<Method> |
TypeDefFluentImpl.getConstructors()
Deprecated.
|
List<Method> |
TypeDefFluent.getConstructors()
Deprecated.
|
List<Method> |
TypeDef.getConstructors() |
List<Method> |
TypeDefFluentImpl.getMethods()
Deprecated.
|
List<Method> |
TypeDefFluent.getMethods()
Deprecated.
|
List<Method> |
TypeDef.getMethods() |
Modifier and Type | Method and Description |
---|---|
TypeDefFluent.ConstructorsNested<A> |
TypeDefFluentImpl.addNewConstructorLike(Method item) |
TypeDefFluent.ConstructorsNested<A> |
TypeDefFluent.addNewConstructorLike(Method item) |
TypeDefFluent.MethodsNested<A> |
TypeDefFluentImpl.addNewMethodLike(Method item) |
TypeDefFluent.MethodsNested<A> |
TypeDefFluent.addNewMethodLike(Method item) |
A |
TypeDefFluentImpl.addToConstructors(int index,
Method item) |
A |
TypeDefFluent.addToConstructors(int index,
Method item) |
A |
TypeDefFluentImpl.addToConstructors(Method... items) |
A |
TypeDefFluent.addToConstructors(Method... items) |
A |
TypeDefFluentImpl.addToMethods(int index,
Method item) |
A |
TypeDefFluent.addToMethods(int index,
Method item) |
A |
TypeDefFluentImpl.addToMethods(Method... items) |
A |
TypeDefFluent.addToMethods(Method... items) |
A |
TypeDefFluentImpl.removeFromConstructors(Method... items) |
A |
TypeDefFluent.removeFromConstructors(Method... items) |
A |
TypeDefFluentImpl.removeFromMethods(Method... items) |
A |
TypeDefFluent.removeFromMethods(Method... items) |
TypeDefFluent.ConstructorsNested<A> |
TypeDefFluentImpl.setNewConstructorLike(int index,
Method item) |
TypeDefFluent.ConstructorsNested<A> |
TypeDefFluent.setNewConstructorLike(int index,
Method item) |
TypeDefFluent.MethodsNested<A> |
TypeDefFluentImpl.setNewMethodLike(int index,
Method item) |
TypeDefFluent.MethodsNested<A> |
TypeDefFluent.setNewMethodLike(int index,
Method item) |
A |
TypeDefFluentImpl.setToConstructors(int index,
Method item) |
A |
TypeDefFluent.setToConstructors(int index,
Method item) |
A |
TypeDefFluentImpl.setToMethods(int index,
Method item) |
A |
TypeDefFluent.setToMethods(int index,
Method item) |
A |
TypeDefFluentImpl.withConstructors(Method... constructors) |
A |
TypeDefFluent.withConstructors(Method... constructors) |
A |
TypeDefFluentImpl.withMethods(Method... methods) |
A |
TypeDefFluent.withMethods(Method... methods) |
Modifier and Type | Method and Description |
---|---|
A |
TypeDefFluentImpl.addAllToConstructors(Collection<Method> items) |
A |
TypeDefFluent.addAllToConstructors(Collection<Method> items) |
A |
TypeDefFluentImpl.addAllToMethods(Collection<Method> items) |
A |
TypeDefFluent.addAllToMethods(Collection<Method> items) |
A |
TypeDefFluentImpl.removeAllFromConstructors(Collection<Method> items) |
A |
TypeDefFluent.removeAllFromConstructors(Collection<Method> items) |
A |
TypeDefFluentImpl.removeAllFromMethods(Collection<Method> items) |
A |
TypeDefFluent.removeAllFromMethods(Collection<Method> items) |
A |
TypeDefFluentImpl.withConstructors(List<Method> constructors) |
A |
TypeDefFluent.withConstructors(List<Method> constructors) |
A |
TypeDefFluentImpl.withMethods(List<Method> methods) |
A |
TypeDefFluent.withMethods(List<Method> methods) |
Constructor and Description |
---|
MethodBuilder(Method instance) |
MethodBuilder(Method instance,
Boolean validationEnabled) |
MethodBuilder(MethodFluent<?> fluent,
Method instance) |
MethodBuilder(MethodFluent<?> fluent,
Method instance,
Boolean validationEnabled) |
MethodFluentImpl(Method instance) |
Constructor and Description |
---|
EditableTypeDef(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,
TypeDef outerType,
List<TypeDef> innerTypes,
int modifiers,
Map<AttributeKey,Object> attributes) |
EditableTypeDef(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,
TypeDef outerType,
List<TypeDef> innerTypes,
int 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,
TypeDef outerType,
List<TypeDef> innerTypes,
int 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,
TypeDef outerType,
List<TypeDef> innerTypes,
int modifiers,
Map<AttributeKey,Object> attributes) |
Modifier and Type | Method and Description |
---|---|
static Method |
Getter.find(TypeDef clazz,
Property property)
Find the getter of the specified property in the type.
|
static Method |
Getter.find(TypeDef clazz,
Property property,
boolean acceptPrefixless)
Find the getter of the specified property in the type.
|
static Method |
Getter.forProperty(Property property) |
Modifier and Type | Method and Description |
---|---|
static boolean |
Getter.is(Method method)
Checks if the specified method is a getter.
|
static boolean |
Getter.is(Method method,
boolean acceptPrefixless)
Checks if the specified method is a getter.
|
static boolean |
Setter.isApplicable(Method method,
Property property) |
static String |
Getter.propertyName(Method method)
Return the property name for the specified getter
method . |
static String |
Getter.propertyNameSafe(Method method)
Return the property name for the specified getter
method . |
Copyright © 2019 JBoss by Red Hat. All rights reserved.