Class NamedVariableDefault
- java.lang.Object
-
- org.benf.cfr.reader.bytecode.analysis.variables.NamedVariableDefault
-
- All Implemented Interfaces:
NamedVariable
,Dumpable
public class NamedVariableDefault extends java.lang.Object implements NamedVariable
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
isGoodName
private java.lang.String
name
-
Constructor Summary
Constructors Constructor Description NamedVariableDefault(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Dumper
dump(Dumper d)
Dumper
dump(Dumper d, boolean defines)
boolean
equals(java.lang.Object o)
void
forceName(java.lang.String name)
java.lang.String
getStringName()
int
hashCode()
boolean
isGoodName()
java.lang.String
toString()
-
-
-
Method Detail
-
forceName
public void forceName(java.lang.String name)
- Specified by:
forceName
in interfaceNamedVariable
-
getStringName
public java.lang.String getStringName()
- Specified by:
getStringName
in interfaceNamedVariable
-
dump
public Dumper dump(Dumper d)
- Specified by:
dump
in interfaceDumpable
- Specified by:
dump
in interfaceNamedVariable
-
dump
public Dumper dump(Dumper d, boolean defines)
- Specified by:
dump
in interfaceNamedVariable
-
isGoodName
public boolean isGoodName()
- Specified by:
isGoodName
in interfaceNamedVariable
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-