ppt4j 1.0
 
Loading...
Searching...
No Matches
ppt4j.feature.java.JavaFeatures Class Reference
Inheritance diagram for ppt4j.feature.java.JavaFeatures:
ppt4j.feature.Features

Public Member Functions

void merge (@NonNull JavaFeatures other)
 
String toString ()
 
- Public Member Functions inherited from ppt4j.feature.Features
boolean isEmpty ()
 
int size ()
 
boolean equals (Object rhs)
 

Static Public Member Functions

static JavaFeatures 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< InstTypeInstructions = new HashSet<>()
 
final Set< String > Misc = new HashSet<>()
 

Member Function Documentation

◆ empty()

static JavaFeatures ppt4j.feature.java.JavaFeatures.empty ( )
static

This method creates and returns a new instance of JavaFeatures with no initial data.

Returns
a new instance of JavaFeatures with no initial data

◆ merge()

void ppt4j.feature.java.JavaFeatures.merge ( @NonNull JavaFeatures other)

Merges the Java features from the provided JavaFeatures object into this JavaFeatures object.

Parameters
otherthe JavaFeatures object to merge with this JavaFeatures object

◆ toString()

String ppt4j.feature.java.JavaFeatures.toString ( )

Returns a formatted string representation of the current object, including the line number and text content, followed by the default string representation.

Returns
The formatted string representation of the object.

Reimplemented from ppt4j.feature.Features.


The documentation for this class was generated from the following file: