Package spoon.reflect.factory
Interface Factory
- All Known Implementing Classes:
FactoryImpl
public interface Factory
Provides the sub-factories required by Spoon.
Most classes provides a method getFactory() that returns the current factory.
Otherwise FactoryImpl is a default implementation.
-
Method Summary
Modifier and TypeMethodDescriptionAccess toAnnotationFactory
subfactoryClass()
Access toClassFactory
subfactoryCode()
Access toCodeFactory
subfactoryAccess toCompilationUnitFactory
subfactoryAccess toConstructorFactory
subfactoryCore()
Access toCoreFactory
subfactory<A extends Annotation>
CtAnnotation<A><A extends Annotation>
CtAnnotation<A>createAnnotation(CtTypeReference<A> annotationType)
<T> CtAnnotationFieldAccess<T>
<T> CtAnnotationMethod<T>
<T extends Annotation>
CtAnnotationType<T>createAnnotationType(String qualifiedName)
createAnnotationType(CtPackage owner, String simpleName)
createAnonymous(CtClass<?> target, CtBlock<Void> body)
<T> CtArrayRead<T>
<T> CtArrayTypeReference<T>
createArrayReference(String qualifiedName)
<T> CtArrayTypeReference<T[]>
createArrayReference(CtType<T> type)
createArrayReference(CtTypeReference<?> reference, int n)
<T> CtArrayTypeReference<T[]>
createArrayReference(CtTypeReference<T> reference)
<T> CtArrayTypeReference<T>
<T> CtArrayWrite<T>
<T> CtAssert<T>
<T, A extends T>
CtAssignment<T,A><T> CtBinaryOperator<T>
<T> CtBinaryOperator<T>
createBinaryOperator(CtExpression<?> left, CtExpression<?> right, BinaryOperatorKind kind)
<R> CtBlock<R>
createBodyHolderSourcePosition(CompilationUnit compilationUnit, int startSource, int end, int modifierStart, int modifierEnd, int declarationStart, int declarationEnd, int bodyStart, int bodyEnd, int[] lineSeparatorPositions)
<S> CtCase<S>
<T> CtCatchVariable<T>
<T> CtCatchVariable<T>
createCatchVariable(CtTypeReference<T> type, String name, ModifierKind... modifierKinds)
<T> CtCatchVariableReference<T>
<T> CtCatchVariableReference<T>
createCatchVariableReference(CtCatchVariable<T> catchVariable)
<T> CtClass<T>
createClass(String qualifiedName)
createClass(CtClass<?> declaringClass, String simpleName)
createClass(CtPackage owner, String simpleName)
<T> CtFieldAccess<Class<T>>
createClassAccess(CtTypeReference<T> type)
<T> CtCodeSnippetExpression<T>
<T> CtCodeSnippetExpression<T>
createCodeSnippetExpression(String expression)
createCodeSnippetStatement(String statement)
createComment(String content, CtComment.CommentType type)
<T> CtConditional<T>
<T> CtConstructor<T>
createConstructor(CtClass target, Set<ModifierKind> modifiers, List<CtParameter<?>> parameters, Set<CtTypeReference<? extends Throwable>> thrownTypes)
createConstructor(CtClass target, Set<ModifierKind> modifiers, List<CtParameter<?>> parameters, Set<CtTypeReference<? extends Throwable>> thrownTypes, CtBlock body)
createConstructor(CtClass target, CtConstructor<?> source)
createConstructor(CtClass target, CtMethod<?> source)
<T> CtConstructorCall<T>
<T> CtConstructorCall<T>
createConstructorCall(CtTypeReference<T> type, CtExpression<?>... parameters)
<T extends CtStatement>
CtBlock<?>createCtBlock(T element)
createCtCatch(String nameCatch, Class<? extends Throwable> exception, CtBlock<?> ctBlock)
<T> CtField<T>
createCtField(String name, CtTypeReference<T> type, String exp, ModifierKind... visibilities)
createCtPackageReference(Package originalPackage)
createCtThrow(String thrownExp)
<T> CtTypeReference<T>
createCtTypeReference(Class<?> originalClass)
createDeclarationSourcePosition(CompilationUnit compilationUnit, int startSource, int end, int modifierStart, int modifierEnd, int declarationStart, int declarationEnd, int[] lineSeparatorPositions)
<T> CtConstructor<T>
createDefault(CtClass<T> target)
createDo()
createElement(Class<? extends CtElement> klass)
CtEnum<?>
createEnum(String qualifiedName)
CtEnum<?>
createEnum(CtPackage owner, String simpleName)
<T> CtEnumValue<T>
<T> CtExecutableReference<T>
<T, E extends CtExpression<?>>
CtExecutableReferenceExpression<T,E><T> CtField<T>
createField(CtType<?> target, Set<ModifierKind> modifiers, CtTypeReference type, String name)
createField(CtType<?> target, Set<ModifierKind> modifiers, CtTypeReference type, String name, CtExpression defaultExpression)
createField(CtType<?> target, CtField source)
<T> CtFieldRead<T>
<T> CtFieldReference<T>
<T> CtFieldWrite<T>
createIf()
createImport(CtReference reference)
createInlineComment(String content)
<T> CtInterface<T>
createInterface(String qualifiedName)
createInterface(CtPackage owner, String simpleName)
createInterface(CtType owner, String simpleName)
<T> CtIntersectionTypeReference<T>
<T> CtIntersectionTypeReference<T>
createIntersectionTypeReferenceWithBounds(List<CtTypeReference<?>> bounds)
<T> CtConstructor<T>
<T> CtInvocation<T>
<T> CtInvocation<T>
createInvocation(CtExpression<?> target, CtExecutableReference<T> executable, List<CtExpression<?>> arguments)
<T> CtInvocation<T>
createInvocation(CtExpression<?> target, CtExecutableReference<T> executable, CtExpression<?>... arguments)
createJavaDocTag(String content, CtJavaDocTag.TagType type)
createJavaDocTag(String content, CtJavaDocTag.TagType type, String realName)
<T> CtLambda<T>
<T> CtLiteral<T>
<T> CtLiteral<T>
createLiteral(T value)
<T> CtNewArray<T[]>
createLiteralArray(T[] value)
<T> CtLocalVariable<T>
<T> CtLocalVariable<T>
createLocalVariable(CtTypeReference<T> type, String name, CtExpression<T> defaultExpression)
<T> CtLocalVariableReference<T>
<T> CtLocalVariableReference<T>
createLocalVariableReference(CtLocalVariable<T> localVariable)
<T> CtLocalVariableReference<T>
createLocalVariableReference(CtTypeReference<T> type, String name)
<T> CtMethod<T>
createMethod(CtClass<?> target, Set<ModifierKind> modifiers, CtTypeReference returnType, String name, List<CtParameter<?>> parameters, Set<CtTypeReference<? extends Throwable>> thrownTypes, CtBlock body)
createMethod(CtType<?> target, Set<ModifierKind> modifiers, CtTypeReference returnType, String name, List<CtParameter<?>> parameters, Set<CtTypeReference<? extends Throwable>> thrownTypes)
createMethod(CtType<?> target, CtMethod source, boolean redirectReferences)
createModule(String moduleName)
createModuleReference(CtModule ctModule)
createModuleRequirement(CtModuleReference ctModuleReference)
<T> CtNewArray<T>
<T> CtNewClass<T>
CtNewClass<?>
createNewClass(CtType<?> superClass, CtExpression<?>... parameters)
Creates an anonymous class<T, A extends T>
CtOperatorAssignment<T,A>createPackage(CtPackage parent, String simpleName)
createPackageDeclaration(CtPackageReference packageRef)
createPackageExport(CtPackageReference ctPackageReference)
<T> CtParameter<T>
<T> CtParameter<T>
createParameter(CtExecutable<?> parent, CtTypeReference<T> type, String name)
<T> CtParameterReference<T>
<T> CtParameterReference<T>
createParameterReference(CtParameter<T> parameter)
createPartialSourcePosition(CompilationUnit compilationUnit)
createProvidedService(CtTypeReference ctTypeReference)
createQuery(Iterable<?> input)
createQuery(Object input)
createQuery(Object... input)
<T> CtTypeReference<T>
createReference(String qualifiedName)
List<CtTypeReference<?>>
createReferences(List<Class<?>> classes)
<R> CtReturn<R>
<T> CtTypeReference<T>
createSimplyQualifiedReference(String qualifiedName)
createSourcePosition(CompilationUnit compilationUnit, int startSource, int end, int[] lineSeparatorPositions)
<R> CtStatementList
<R> CtStatementList
createStatementList(CtBlock<R> block)
<T> CtSuperAccess<T>
<S> CtSwitch<S>
<T, S> CtSwitchExpression<T,S>
createTextBlock(String value)
<T> CtThisAccess<T>
<T> CtThisAccess<T>
createThisAccess(CtTypeReference<T> type)
<T> CtThisAccess<T>
createThisAccess(CtTypeReference<T> type, boolean isImplicit)
<T> CtTypeAccess<T>
<T> CtTypeAccess<T>
createTypeAccess(CtTypeReference<T> accessedType)
<T> CtTypeAccess<T>
createTypeAccess(CtTypeReference<T> accessedType, boolean isImplicit)
<T> CtTypeAccess<T>
createTypeAccessWithoutCloningReference(CtTypeReference<T> accessedType)
createTypeAdapter(CtFormalTypeDeclarer formalTypeDeclarer)
createTypeMemberWildcardImportReference(CtTypeReference<?> typeReference)
<T> CtTypeReference<T>
<T> CtUnaryOperator<T>
<T> CtUnboundVariableReference<T>
createUnresolvedImport(String reference, boolean isStatic)
createUsedService(CtTypeReference typeReference)
<A, T extends A>
CtAssignment<A,T>createVariableAssignment(CtVariableReference<A> variable, boolean isStatic, CtExpression<T> expression)
<T> CtStatementList
createVariableAssignments(List<? extends CtVariable<T>> variables, List<? extends CtExpression<T>> expressions)
<T> CtVariableRead<T>
<T> CtVariableAccess<T>
createVariableRead(CtVariableReference<T> variable, boolean isStatic)
List<CtExpression<?>>
createVariableReads(List<? extends CtVariable<?>> variables)
<T> CtVariableWrite<T>
<T> CtVariableAccess<T>
createVariableWrite(CtVariableReference<T> variable, boolean isStatic)
createYieldStatement(boolean isImplicit)
Enum()
Access toEnumFactory
subfactoryEval()
Access toEvalFactory
subfactoryAccess toExecutableFactory
subfactoryField()
Access toFieldFactory
subfactoryAccess to theEnvironment
getModel()
returns the Spoon model that has been built with this factory or one of its subfactoriesAccess toInterfaceFactory
subfactoryMethod()
Access toMethodFactory
subfactoryModule()
Access toModuleFactory
subfactory for Java 9 modulesPackage()
Access toPackageFactory
subfactoryQuery()
Access toQueryFactory
subfactoryAccess to templatesType()
Access toTypeFactory
subfactory
-
Method Details
-
getModel
CtModel getModel()returns the Spoon model that has been built with this factory or one of its subfactories -
Core
CoreFactory Core()Access toCoreFactory
subfactory -
Type
TypeFactory Type()Access toTypeFactory
subfactory -
Enum
EnumFactory Enum()Access toEnumFactory
subfactory -
getEnvironment
Environment getEnvironment()Access to theEnvironment
-
Package
PackageFactory Package()Access toPackageFactory
subfactory -
Code
CodeFactory Code()Access toCodeFactory
subfactory -
Class
ClassFactory Class()Access toClassFactory
subfactory -
Field
FieldFactory Field()Access toFieldFactory
subfactory -
Executable
ExecutableFactory Executable()Access toExecutableFactory
subfactory -
CompilationUnit
CompilationUnitFactory CompilationUnit()Access toCompilationUnitFactory
subfactory -
Interface
InterfaceFactory Interface()Access toInterfaceFactory
subfactory -
Method
MethodFactory Method()Access toMethodFactory
subfactory -
Annotation
AnnotationFactory Annotation()Access toAnnotationFactory
subfactory -
Eval
EvalFactory Eval()Access toEvalFactory
subfactory -
Constructor
ConstructorFactory Constructor()Access toConstructorFactory
subfactory -
Query
QueryFactory Query()Access toQueryFactory
subfactory -
Module
ModuleFactory Module()Access toModuleFactory
subfactory for Java 9 modules -
Templates
Factory Templates()Access to templates -
createAnnotation
-
createVariableAssignment
<A, T extends A> CtAssignment<A,T> createVariableAssignment(CtVariableReference<A> variable, boolean isStatic, CtExpression<T> expression) -
createStatementList
- See Also:
CodeFactory.createStatementList(CtBlock)
-
createCtBlock
- See Also:
CodeFactory.createCtBlock(CtStatement)
-
createBinaryOperator
<T> CtBinaryOperator<T> createBinaryOperator(CtExpression<?> left, CtExpression<?> right, BinaryOperatorKind kind) -
createCatchVariable
<T> CtCatchVariable<T> createCatchVariable(CtTypeReference<T> type, String name, ModifierKind... modifierKinds) -
createCodeSnippetExpression
-
createConstructorCall
<T> CtConstructorCall<T> createConstructorCall(CtTypeReference<T> type, CtExpression<?>... parameters) -
createClassAccess
-
createInvocation
<T> CtInvocation<T> createInvocation(CtExpression<?> target, CtExecutableReference<T> executable, List<CtExpression<?>> arguments) -
createInvocation
<T> CtInvocation<T> createInvocation(CtExpression<?> target, CtExecutableReference<T> executable, CtExpression<?>... arguments) -
createLiteral
- See Also:
CodeFactory.createLiteral(Object)
-
createLocalVariable
<T> CtLocalVariable<T> createLocalVariable(CtTypeReference<T> type, String name, CtExpression<T> defaultExpression) -
createLiteralArray
- See Also:
CodeFactory.createLiteralArray(Object[])
-
createNewClass
Creates an anonymous class- Parameters:
superClass
- Anonymous class in the new class.parameters
- the arguments of the constructor call.
-
createVariableAssignments
<T> CtStatementList createVariableAssignments(List<? extends CtVariable<T>> variables, List<? extends CtExpression<T>> expressions) -
createThisAccess
-
createThisAccess
-
createTypeAccess
-
createTypeAccess
-
createTypeAccessWithoutCloningReference
-
createVariableRead
-
createVariableWrite
-
createCtField
<T> CtField<T> createCtField(String name, CtTypeReference<T> type, String exp, ModifierKind... visibilities) -
createCatchVariableReference
-
createLocalVariableReference
-
createLocalVariableReference
-
createCtTypeReference
- See Also:
CodeFactory.createCtTypeReference(Class)
-
createVariableReads
- See Also:
CodeFactory.createVariableReads(List)
-
createCtCatch
-
createCodeSnippetStatement
-
createComment
-
createJavaDocTag
-
createJavaDocTag
-
createJavaDoc
CtJavaDoc createJavaDoc()- See Also:
CoreFactory.createJavaDoc()
-
createJavaDocTag
CtJavaDocTag createJavaDocTag()- See Also:
CodeFactory#createJavaDocTag()
-
createInlineComment
- See Also:
CodeFactory.createInlineComment(String)
-
createCtThrow
- See Also:
CodeFactory.createCtThrow(String)
-
createCtPackageReference
-
createDefault
-
createAnnotation
- See Also:
CoreFactory.createAnnotation()
-
createBlock
- See Also:
CoreFactory.createBlock()
-
createReturn
- See Also:
CoreFactory.createReturn()
-
createStatementList
- See Also:
CoreFactory.createStatementList()
-
createCase
- See Also:
CoreFactory.createCase()
-
createSwitch
- See Also:
CoreFactory.createSwitch()
-
createSwitchExpression
- See Also:
CoreFactory.createSwitchExpression()
-
createEnum
- See Also:
CoreFactory.createEnum()
-
createAnnotationType
- See Also:
CoreFactory.createAnnotationType()
-
createAssignment
- See Also:
CoreFactory.createAssignment()
-
createOperatorAssignment
- See Also:
CoreFactory.createOperatorAssignment()
-
createExecutableReferenceExpression
<T, E extends CtExpression<?>> CtExecutableReferenceExpression<T,E> createExecutableReferenceExpression() -
createAnnotationFieldAccess
-
createArrayRead
- See Also:
CoreFactory.createArrayRead()
-
createArrayWrite
- See Also:
CoreFactory.createArrayWrite()
-
createAssert
- See Also:
CoreFactory.createAssert()
-
createBinaryOperator
- See Also:
CoreFactory.createBinaryOperator()
-
createCatchVariable
- See Also:
CoreFactory.createCatchVariable()
-
createCodeSnippetExpression
-
createConditional
- See Also:
CoreFactory.createConditional()
-
createConstructorCall
- See Also:
CoreFactory.createConstructorCall()
-
createFieldRead
- See Also:
CoreFactory.createFieldRead()
-
createFieldWrite
- See Also:
CoreFactory.createFieldWrite()
-
createInvocation
- See Also:
CoreFactory.createInvocation()
-
createLambda
- See Also:
CoreFactory.createLambda()
-
createLiteral
- See Also:
CoreFactory.createLiteral()
-
createTextBlock
CtTextBlock createTextBlock()- See Also:
CoreFactory.createTextBlock()
-
createTextBlock
- See Also:
CodeFactory.createTextBlock(String)
-
createLocalVariable
- See Also:
CoreFactory.createLocalVariable()
-
createNewArray
- See Also:
CoreFactory.createNewArray()
-
createNewClass
- See Also:
CoreFactory.createNewClass()
-
createSuperAccess
- See Also:
CoreFactory.createSuperAccess()
-
createThisAccess
- See Also:
CoreFactory.createThisAccess()
-
createTypeAccess
- See Also:
CoreFactory.createTypeAccess()
-
createUnaryOperator
- See Also:
CoreFactory.createUnaryOperator()
-
createVariableRead
- See Also:
CoreFactory.createVariableRead()
-
createVariableWrite
- See Also:
CoreFactory.createVariableWrite()
-
createAnnotationMethod
- See Also:
CoreFactory.createAnnotationMethod()
-
createClass
- See Also:
CoreFactory.createClass()
-
createConstructor
- See Also:
CoreFactory.createConstructor()
-
createInvisibleArrayConstructor
- See Also:
()
-
createEnumValue
- See Also:
CoreFactory.createEnumValue()
-
createField
- See Also:
CoreFactory.createField()
-
createInterface
- See Also:
CoreFactory.createInterface()
-
createMethod
- See Also:
CoreFactory.createMethod()
-
createParameter
- See Also:
CoreFactory.createParameter()
-
createArrayTypeReference
- See Also:
CoreFactory.createArrayTypeReference()
-
createCatchVariableReference
-
createExecutableReference
- See Also:
CoreFactory.createExecutableReference()
-
createFieldReference
- See Also:
CoreFactory.createFieldReference()
-
createIntersectionTypeReference
-
createLocalVariableReference
-
createParameterReference
- See Also:
CoreFactory.createParameterReference()
-
createTypeReference
- See Also:
CoreFactory.createTypeReference()
-
createUnboundVariableReference
-
createBreak
CtBreak createBreak()- See Also:
CoreFactory.createBreak()
-
createCatch
CtCatch createCatch()- See Also:
CoreFactory.createCatch()
-
createCodeSnippetStatement
CtCodeSnippetStatement createCodeSnippetStatement()- See Also:
CoreFactory.createCodeSnippetStatement()
-
createComment
CtComment createComment()- See Also:
CoreFactory.createComment()
-
createContinue
CtContinue createContinue()- See Also:
CoreFactory.createContinue()
-
createDo
CtDo createDo()- See Also:
CoreFactory.createDo()
-
createFor
CtFor createFor()- See Also:
CoreFactory.createFor()
-
createForEach
CtForEach createForEach()- See Also:
CoreFactory.createForEach()
-
createIf
CtIf createIf()- See Also:
CoreFactory.createIf()
-
createSynchronized
CtSynchronized createSynchronized()- See Also:
CoreFactory.createSynchronized()
-
createThrow
CtThrow createThrow()- See Also:
CoreFactory.createThrow()
-
createTry
CtTry createTry()- See Also:
CoreFactory.createTry()
-
createTryWithResource
CtTryWithResource createTryWithResource()- See Also:
CoreFactory.createTryWithResource()
-
createWhile
CtWhile createWhile()- See Also:
CoreFactory.createWhile()
-
createCompilationUnit
CompilationUnit createCompilationUnit()- See Also:
CoreFactory.createCompilationUnit()
-
createSourcePosition
SourcePosition createSourcePosition(CompilationUnit compilationUnit, int startSource, int end, int[] lineSeparatorPositions) -
createBodyHolderSourcePosition
BodyHolderSourcePosition createBodyHolderSourcePosition(CompilationUnit compilationUnit, int startSource, int end, int modifierStart, int modifierEnd, int declarationStart, int declarationEnd, int bodyStart, int bodyEnd, int[] lineSeparatorPositions) -
createDeclarationSourcePosition
DeclarationSourcePosition createDeclarationSourcePosition(CompilationUnit compilationUnit, int startSource, int end, int modifierStart, int modifierEnd, int declarationStart, int declarationEnd, int[] lineSeparatorPositions) -
createAnonymousExecutable
CtAnonymousExecutable createAnonymousExecutable()- See Also:
CoreFactory.createAnonymousExecutable()
-
createPackage
CtPackage createPackage()- See Also:
CoreFactory.createPackage()
-
createTypeParameter
CtTypeParameter createTypeParameter()- See Also:
CoreFactory.createTypeParameter()
-
createPackageReference
CtPackageReference createPackageReference()- See Also:
CoreFactory.createPackageReference()
-
createTypeParameterReference
CtTypeParameterReference createTypeParameterReference() -
createWildcardReference
CtWildcardReference createWildcardReference()- See Also:
CoreFactory.createWildcardReference()
-
createPartialEvaluator
PartialEvaluator createPartialEvaluator()- See Also:
EvalFactory.createPartialEvaluator()
-
createParameter
-
createParameterReference
-
createAnonymous
-
createArrayReference
- See Also:
TypeFactory.createArrayReference(String)
-
createArrayReference
- See Also:
TypeFactory.createArrayReference(CtType)
-
createArrayReference
-
createIntersectionTypeReferenceWithBounds
<T> CtIntersectionTypeReference<T> createIntersectionTypeReferenceWithBounds(List<CtTypeReference<?>> bounds) -
createTypeAdapter
-
createReferences
- See Also:
TypeFactory.createReferences(List)
-
createArrayReference
-
createTypeParameterReference
-
createQuery
CtQuery createQuery()- See Also:
QueryFactory.createQuery()
-
createQuery
- See Also:
QueryFactory.createQuery(Object)
-
createQuery
- See Also:
QueryFactory.createQuery(Object...)
-
createQuery
- See Also:
QueryFactory.createQuery(Iterable)
-
createAnnotationType
- See Also:
AnnotationFactory.create(String)
-
createAnnotationType
-
createClass
- See Also:
ClassFactory.create(String)
-
createClass
- See Also:
ClassFactory.create(CtClass, String)
-
createClass
- See Also:
ClassFactory.create(CtPackage, String)
-
createConstructor
-
createConstructor
-
createConstructor
CtConstructor createConstructor(CtClass target, Set<ModifierKind> modifiers, List<CtParameter<?>> parameters, Set<CtTypeReference<? extends Throwable>> thrownTypes) -
createConstructor
CtConstructor createConstructor(CtClass target, Set<ModifierKind> modifiers, List<CtParameter<?>> parameters, Set<CtTypeReference<? extends Throwable>> thrownTypes, CtBlock body) -
createEnum
- See Also:
EnumFactory.create(String)
-
createEnum
- See Also:
EnumFactory.create(CtPackage, String)
-
createField
CtField createField(CtType<?> target, Set<ModifierKind> modifiers, CtTypeReference type, String name) -
createField
CtField createField(CtType<?> target, Set<ModifierKind> modifiers, CtTypeReference type, String name, CtExpression defaultExpression) -
createField
- See Also:
FieldFactory.create(CtType, CtField)
-
createInterface
-
createInterface
- See Also:
InterfaceFactory.create(CtType, String)
-
createInterface
- See Also:
InterfaceFactory.create(String)
-
createMethod
CtMethod createMethod(CtClass<?> target, Set<ModifierKind> modifiers, CtTypeReference returnType, String name, List<CtParameter<?>> parameters, Set<CtTypeReference<? extends Throwable>> thrownTypes, CtBlock body) -
createMethod
-
createMethod
CtMethod createMethod(CtType<?> target, Set<ModifierKind> modifiers, CtTypeReference returnType, String name, List<CtParameter<?>> parameters, Set<CtTypeReference<? extends Throwable>> thrownTypes) -
createPackage
- See Also:
PackageFactory.create(CtPackage, String)
-
createElement
- See Also:
CoreFactory.create(Class)
-
createImport
- See Also:
TypeFactory.createImport(CtReference)
-
createUnresolvedImport
-
createTypeMemberWildcardImportReference
CtTypeMemberWildcardImportReference createTypeMemberWildcardImportReference(CtTypeReference<?> typeReference) -
createPackageExport
-
createProvidedService
-
createModuleRequirement
-
createModule
- See Also:
ModuleFactory.getOrCreate(String)
-
createModuleReference
- See Also:
ModuleFactory.createReference(CtModule)
-
createUsedService
-
createPartialSourcePosition
-
createPackageDeclaration
-
createReference
- See Also:
TypeFactory.createReference(String)
-
createSimplyQualifiedReference
-
createYieldStatement
- See Also:
CoreFactory.createYieldStatement()
-
createRecord
CtRecord createRecord()- Returns:
- a CtRecord
- See Also:
CoreFactory.createRecord()
-
createRecordComponent
CtRecordComponent createRecordComponent()- Returns:
- a CtRecordComponent.
- See Also:
CoreFactory.createRecordComponent()
-