public class AnnotationEnumElem extends AnnotationElem
| Constructor and Description |
|---|
AnnotationEnumElem(String t,
String c,
char kind,
String name) |
AnnotationEnumElem(String typeName,
String constantName,
String elementName) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(Switch sw)
Called when this object is visited.
|
boolean |
equals(Object obj) |
String |
getConstantName() |
String |
getTypeName() |
int |
hashCode() |
void |
setConstantName(String newValue) |
void |
setTypeName(String newValue) |
String |
toString() |
getKind, getName, setNamepublic AnnotationEnumElem(String typeName, String constantName, String elementName)
typeName - type of given enum (Foo.MyEnum)constantName - name of given enum (BarEnum)elementName - given element/parameter namepublic String toString()
toString in class AnnotationElempublic String getTypeName()
public void setTypeName(String newValue)
public String getConstantName()
public void setConstantName(String newValue)
public void apply(Switch sw)
Switchablepublic int hashCode()
hashCode in class AnnotationElempublic boolean equals(Object obj)
equals in class AnnotationElemCopyright © 2024 Soot OSS. All rights reserved.