ABSOLUTE_BEGIN_LINE, ABSOLUTE_END_LINE
Constructor and Description |
---|
ClassOrInterfaceType() |
ClassOrInterfaceType(ClassOrInterfaceType scope,
String name) |
ClassOrInterfaceType(int beginLine,
int beginColumn,
int endLine,
int endColumn,
ClassOrInterfaceType scope,
String name,
List<Type> typeArgs)
Deprecated.
use the other constructor that takes
TypeArguments |
ClassOrInterfaceType(int beginLine,
int beginColumn,
int endLine,
int endColumn,
ClassOrInterfaceType scope,
String name,
TypeArguments typeArguments) |
ClassOrInterfaceType(String name) |
Modifier and Type | Method and Description |
---|---|
<R,A> R |
accept(GenericVisitor<R,A> v,
A arg)
Accept method for visitor support.
|
<A> void |
accept(VoidVisitor<A> v,
A arg)
Accept method for visitor support.
|
String |
getName() |
ClassOrInterfaceType |
getScope() |
List<Type> |
getTypeArgs() |
TypeArguments |
getTypeArguments() |
boolean |
isBoxedType() |
boolean |
isUsingDiamondOperator() |
void |
setName(String name) |
void |
setScope(ClassOrInterfaceType scope) |
void |
setTypeArgs(List<Type> typeArgs)
Allows you to set the generic arguments
|
void |
setTypeArguments(TypeArguments typeArguments) |
PrimitiveType |
toUnboxedType() |
getAnnotations, setAnnotations
addOrphanComment, clone, contains, equals, getAllContainedComments, getBeginColumn, getBeginLine, getChildrenNodes, getComment, getData, getEndColumn, getEndLine, getOrphanComments, getParentNode, hasComment, hashCode, isPositionedAfter, isPositionedBefore, setAsParentNodeOf, setAsParentNodeOf, setBeginColumn, setBeginLine, setComment, setData, setEndColumn, setEndLine, setParentNode, toString, toStringWithoutComments
public ClassOrInterfaceType()
public ClassOrInterfaceType(String name)
public ClassOrInterfaceType(ClassOrInterfaceType scope, String name)
@Deprecated public ClassOrInterfaceType(int beginLine, int beginColumn, int endLine, int endColumn, ClassOrInterfaceType scope, String name, List<Type> typeArgs)
TypeArguments
public ClassOrInterfaceType(int beginLine, int beginColumn, int endLine, int endColumn, ClassOrInterfaceType scope, String name, TypeArguments typeArguments)
public <R,A> R accept(GenericVisitor<R,A> v, A arg)
Node
public <A> void accept(VoidVisitor<A> v, A arg)
Node
public ClassOrInterfaceType getScope()
public TypeArguments getTypeArguments()
public boolean isUsingDiamondOperator()
public boolean isBoxedType()
public PrimitiveType toUnboxedType() throws UnsupportedOperationException
UnsupportedOperationException
public void setName(String name)
public void setScope(ClassOrInterfaceType scope)
public void setTypeArgs(List<Type> typeArgs)
typeArgs
- The list of types of the genericspublic void setTypeArguments(TypeArguments typeArguments)
Copyright © 2007–2016. All rights reserved.