Public Member Functions | |
| String | toString () |
Public Member Functions inherited from ppt4j.feature.Features | |
| boolean | isEmpty () |
| int | size () |
| boolean | equals (Object rhs) |
Static Public Member Functions | |
| static BytecodeFeatures | merge (@NonNull BytecodeFeatures f1, @NonNull BytecodeFeatures f2) |
| static BytecodeFeatures | empty () |
Additional Inherited Members | |
Protected Member Functions inherited from ppt4j.feature.Features | |
| Features (@NonNull SourceType sourceType, @NonNull String className, int lineNo) | |
Protected Attributes inherited from ppt4j.feature.Features | |
| final SourceType | sourceType |
| String | className |
| int | lineNo |
| final Set< Object > | Constants = new HashSet<>() |
| final Set< String > | MethodInvocations = new HashSet<>() |
| final Set< String > | FieldAccesses = new HashSet<>() |
| final Set< String > | ObjCreations = new HashSet<>() |
| final Set< InstType > | Instructions = new HashSet<>() |
| final Set< String > | Misc = new HashSet<>() |
|
static |
Creates and returns a new instance of BytecodeFeatures with no features set.
|
static |
Merges two sets of BytecodeFeatures by combining their constants, method invocations, field accesses, object creations, instructions, and miscellaneous features into a single BytecodeFeatures object.
| f1 | the first set of BytecodeFeatures |
| f2 | the second set of BytecodeFeatures |
| String ppt4j.feature.bytecode.BytecodeFeatures.toString | ( | ) |
Returns a string representation of the object. The string includes the index, source line number, and all instructions in the instance.
Reimplemented from ppt4j.feature.Features.