public class StageModel extends DependencyNode
cxt, declaringType, name| Constructor and Description |
|---|
StageModel(CompilationContext cxt,
spoon.reflect.declaration.CtField<?> oneField,
spoon.reflect.declaration.CtClass<?> declaringType) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doDeclareAndPrepareAllMethods() |
<T> spoon.reflect.code.CtTargetedExpression<T,spoon.reflect.code.CtExpression<?>> |
fieldAccess(spoon.reflect.code.CtExpression<?> target,
spoon.reflect.declaration.CtField<T> field) |
<E extends spoon.reflect.declaration.CtElement> |
filterBlocksForBuildingDeps(spoon.reflect.visitor.Filter<E> filter) |
java.util.Optional<spoon.reflect.declaration.CtMethod<java.lang.Void>> |
getCloseMethod() |
spoon.reflect.declaration.CtMethod<java.lang.Void> |
getDoCloseMethod() |
spoon.reflect.declaration.CtMethod<java.lang.Boolean> |
getStageInitMethod() |
<T> spoon.reflect.code.CtTargetedExpression<T,spoon.reflect.code.CtExpression<?>> |
guardedStageMethodCall(spoon.reflect.code.CtInvocation<T> invocation,
spoon.reflect.declaration.CtMethod<T> stageMethod) |
addDependencyOrCheckSameAccess, createSimpleMethod, declareAndPrepareAllMethods, dependsOn, f, getCloseDependantsMethod, getDependants, getDependencies, hashCode, toString, traverseBlocksForBuildingDepspublic StageModel(CompilationContext cxt, spoon.reflect.declaration.CtField<?> oneField, spoon.reflect.declaration.CtClass<?> declaringType)
public spoon.reflect.declaration.CtMethod<java.lang.Boolean> getStageInitMethod()
public java.util.Optional<spoon.reflect.declaration.CtMethod<java.lang.Void>> getCloseMethod()
getCloseMethod in class DependencyNodepublic spoon.reflect.declaration.CtMethod<java.lang.Void> getDoCloseMethod()
public <T> spoon.reflect.code.CtTargetedExpression<T,spoon.reflect.code.CtExpression<?>> fieldAccess(spoon.reflect.code.CtExpression<?> target,
spoon.reflect.declaration.CtField<T> field)
public <T> spoon.reflect.code.CtTargetedExpression<T,spoon.reflect.code.CtExpression<?>> guardedStageMethodCall(spoon.reflect.code.CtInvocation<T> invocation,
spoon.reflect.declaration.CtMethod<T> stageMethod)
protected void doDeclareAndPrepareAllMethods()
doDeclareAndPrepareAllMethods in class DependencyNodepublic <E extends spoon.reflect.declaration.CtElement> java.util.List<E> filterBlocksForBuildingDeps(spoon.reflect.visitor.Filter<E> filter)
filterBlocksForBuildingDeps in class DependencyNode