public class SimpleTypedNameDeclaration extends Object implements TypedNameDeclaration
Constructor and Description |
---|
SimpleTypedNameDeclaration(String typeImage,
Class<?> type)
Creates a new
SimpleTypedNameDeclaration with the given type |
public SimpleTypedNameDeclaration(String typeImage, Class<?> type)
SimpleTypedNameDeclaration
with the given typetypeImage
- the type imagetype
- the actual typepublic String getTypeImage()
getTypeImage
in interface TypedNameDeclaration
public Class<?> getType()
getType
in interface TypedNameDeclaration
public boolean equals(Object obj)
Additionally - two SimpleTypedNameDeclaration
are equal, if
they contain types, that can be cast into each other.
Copyright © 2002–2014 InfoEther. All rights reserved.