Package sootup.java.core
Interface InMemoryJavaClassSource.OptionalStep
- Enclosing class:
- InMemoryJavaClassSource
public static interface InMemoryJavaClassSource.OptionalStep
Optional parts; every part that is not set defaults to absent/empty.
-
Method Summary
Modifier and TypeMethodDescription@NonNull InMemoryJavaClassSourcebuild()@NonNull InMemoryJavaClassSource.OptionalStepwithAnnotations(@NonNull Iterable<AnnotationUsage> annotations) @NonNull InMemoryJavaClassSource.OptionalStepwithClassFileMetadata(@NonNull JavaClassFileMetadata classFileMetadata) @NonNull InMemoryJavaClassSource.OptionalStepwithFieldAnnotations(@NonNull Iterable<AnnotationUsage> fieldAnnotations) @NonNull InMemoryJavaClassSource.OptionalStepwithFields(@NonNull Set<JavaSootField> fields) @NonNull InMemoryJavaClassSource.OptionalStepwithInterfaces(@NonNull Set<JavaClassType> interfaces) @NonNull InMemoryJavaClassSource.OptionalStepwithMethodAnnotations(@NonNull Iterable<AnnotationUsage> methodAnnotations) @NonNull InMemoryJavaClassSource.OptionalStepwithMethods(@NonNull Set<JavaSootMethod> methods) @NonNull InMemoryJavaClassSource.OptionalStepwithModifiers(@NonNull EnumSet<ClassModifier> modifiers) @NonNull InMemoryJavaClassSource.OptionalStepwithOuterClass(@Nullable JavaClassType outerClass) @NonNull InMemoryJavaClassSource.OptionalStepwithPosition(@NonNull Position position) @NonNull InMemoryJavaClassSource.OptionalStepwithSourcePath(@Nullable Path sourcePath) @NonNull InMemoryJavaClassSource.OptionalStepwithSuperclass(@Nullable JavaClassType superClass)
-
Method Details
-
withSourcePath
-
withSuperclass
-
withOuterClass
-
withInterfaces
@NonNull InMemoryJavaClassSource.OptionalStep withInterfaces(@NonNull Set<JavaClassType> interfaces) -
withFields
-
withMethods
-
withModifiers
@NonNull InMemoryJavaClassSource.OptionalStep withModifiers(@NonNull EnumSet<ClassModifier> modifiers) -
withPosition
-
withAnnotations
@NonNull InMemoryJavaClassSource.OptionalStep withAnnotations(@NonNull Iterable<AnnotationUsage> annotations) -
withMethodAnnotations
@NonNull InMemoryJavaClassSource.OptionalStep withMethodAnnotations(@NonNull Iterable<AnnotationUsage> methodAnnotations) -
withFieldAnnotations
@NonNull InMemoryJavaClassSource.OptionalStep withFieldAnnotations(@NonNull Iterable<AnnotationUsage> fieldAnnotations) -
withClassFileMetadata
@NonNull InMemoryJavaClassSource.OptionalStep withClassFileMetadata(@NonNull JavaClassFileMetadata classFileMetadata) -
build
@NonNull InMemoryJavaClassSource build()
-