Package proguard.util
Class SimpleProcessable
- java.lang.Object
-
- proguard.util.SimpleProcessable
-
- All Implemented Interfaces:
java.io.Serializable
,Processable
- Direct Known Subclasses:
Annotation
,Attribute
,BootstrapMethodInfo
,Constant
,ElementValue
,ExceptionInfo
,ExportsInfo
,InnerClassesInfo
,KotlinAnnotation
,KotlinAnnotationArgument
,KotlinConstructorMetadata
,KotlinContractMetadata
,KotlinEffectExpressionMetadata
,KotlinEffectMetadata
,KotlinFunctionMetadata
,KotlinMetadata
,KotlinPropertyMetadata
,KotlinTypeAliasMetadata
,KotlinTypeMetadata
,KotlinTypeParameterMetadata
,KotlinValueParameterMetadata
,KotlinVersionRequirementMetadata
,LibraryMember
,LocalVariableInfo
,LocalVariableTypeInfo
,OpensInfo
,ParameterInfo
,ProgramMember
,ProvidesInfo
,RecordComponentInfo
,RequiresInfo
,SimpleFeatureNamedProcessable
,StackMapFrame
,VerificationType
public class SimpleProcessable extends java.lang.Object implements Processable
This class provides a straightforward implementation of the Processable interface.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description int
processingFlags
java.lang.Object
processingInfo
-
Constructor Summary
Constructors Constructor Description SimpleProcessable()
Creates an uninitialized SimpleProcessable.SimpleProcessable(int processingFlags, java.lang.Object processingInfo)
Creates an initialized SimpleProcessable.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addProcessingFlags(int... flags)
Adds all given flags to this processable.int
getProcessingFlags()
Returns the processing flags.java.lang.Object
getProcessingInfo()
Gets the processing information.boolean
hasProcessingFlags(int... flags)
Checks whether all the given flags are set on this processable.void
removeProcessingFlags(int... flags)
Removes all given flags from this processable.void
setProcessingFlags(int processingFlags)
Sets the processing flags.void
setProcessingInfo(java.lang.Object processingInfo)
Sets the processing information.
-
-
-
Method Detail
-
getProcessingFlags
public int getProcessingFlags()
Description copied from interface:Processable
Returns the processing flags.- Specified by:
getProcessingFlags
in interfaceProcessable
-
setProcessingFlags
public void setProcessingFlags(int processingFlags)
Description copied from interface:Processable
Sets the processing flags.- Specified by:
setProcessingFlags
in interfaceProcessable
-
addProcessingFlags
public void addProcessingFlags(int... flags)
Adds all given flags to this processable.
-
removeProcessingFlags
public void removeProcessingFlags(int... flags)
Removes all given flags from this processable.
-
hasProcessingFlags
public boolean hasProcessingFlags(int... flags)
Checks whether all the given flags are set on this processable.
-
getProcessingInfo
public java.lang.Object getProcessingInfo()
Description copied from interface:Processable
Gets the processing information.- Specified by:
getProcessingInfo
in interfaceProcessable
-
setProcessingInfo
public void setProcessingInfo(java.lang.Object processingInfo)
Description copied from interface:Processable
Sets the processing information.- Specified by:
setProcessingInfo
in interfaceProcessable
-
-