Class SimpleTypedNameDeclaration
- java.lang.Object
-
- net.sourceforge.pmd.lang.java.symboltable.SimpleTypedNameDeclaration
-
- All Implemented Interfaces:
TypedNameDeclaration
@Deprecated @InternalApi public class SimpleTypedNameDeclaration extends Object implements TypedNameDeclaration
Deprecated.Just stores a type image and a actual type. And makes it easy to compare these.
-
-
Constructor Summary
Constructors Constructor Description SimpleTypedNameDeclaration(String typeImage, Class<?> type)Deprecated.Creates a newSimpleTypedNameDeclarationwith the given typeSimpleTypedNameDeclaration(String typeImage, Class<?> type, SimpleTypedNameDeclaration next)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddNext(SimpleTypedNameDeclaration next)Deprecated.booleanequals(Object obj)Deprecated.Class<?>getType()Deprecated.StringgetTypeImage()Deprecated.TypeNodegetTypeNode()Deprecated.NullableinthashCode()Deprecated.StringtoString()Deprecated.
-
-
-
Constructor Detail
-
SimpleTypedNameDeclaration
public SimpleTypedNameDeclaration(String typeImage, Class<?> type)
Deprecated.Creates a newSimpleTypedNameDeclarationwith the given type- Parameters:
typeImage- the type imagetype- the actual type
-
SimpleTypedNameDeclaration
public SimpleTypedNameDeclaration(String typeImage, Class<?> type, SimpleTypedNameDeclaration next)
Deprecated.
-
-
Method Detail
-
addNext
public void addNext(SimpleTypedNameDeclaration next)
Deprecated.
-
getTypeNode
public TypeNode getTypeNode()
Deprecated.Description copied from interface:TypedNameDeclarationNullable- Specified by:
getTypeNodein interfaceTypedNameDeclaration
-
getTypeImage
public String getTypeImage()
Deprecated.- Specified by:
getTypeImagein interfaceTypedNameDeclaration
-
getType
public Class<?> getType()
Deprecated.- Specified by:
getTypein interfaceTypedNameDeclaration
-
equals
public boolean equals(Object obj)
Deprecated.Additionally - two
SimpleTypedNameDeclarationare equal, if they contain types, that can be cast into each other.
-
-