-
- All Implemented Interfaces:
-
pl.metaprogramming.codemodel.model.java.ClassCd
public class ClassDefBase implements ClassCd
-
-
Field Summary
Fields Modifier and Type Field Description private final String
canonicalName
private final String
packageName
private final String
className
private Boolean
used
private final List<ClassCd>
genericParams
private final ClassKind
kind
private final ClassCd
superClass
private final Boolean
isVoid
private final Boolean
isArray
private final Boolean
isList
private final Boolean
isMap
private final Boolean
isEnum
private final Boolean
isInterface
private final Boolean
isGenericParam
-
Method Summary
Modifier and Type Method Description String
getCanonicalName()
String
getPackageName()
String
getClassName()
Boolean
getUsed()
Unit
setUsed(Boolean used)
abstract List<ClassCd>
getGenericParams()
abstract ClassKind
getKind()
abstract ClassCd
getSuperClass()
Boolean
getIsVoid()
Boolean
getIsArray()
Boolean
getIsList()
Boolean
getIsMap()
Boolean
getIsEnum()
Boolean
getIsInterface()
Boolean
getIsGenericParam()
ClassCd
with(List<ClassCd> genericParams, ClassCd superClass, ClassKind kind)
Unit
markAsUsed()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
-
Methods inherited from class pl.metaprogramming.codemodel.model.java.ClassDefBase
asArray, asCollection, asExpression, asField, asField, asField, asList, asMapBy, asMapTo, collectDependencies, isClass, withGeneric, withGeneric, withSuper
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getCanonicalName
String getCanonicalName()
-
getPackageName
String getPackageName()
-
getClassName
String getClassName()
-
getGenericParams
abstract List<ClassCd> getGenericParams()
-
getSuperClass
abstract ClassCd getSuperClass()
-
getIsArray
Boolean getIsArray()
-
getIsInterface
Boolean getIsInterface()
-
getIsGenericParam
Boolean getIsGenericParam()
-
markAsUsed
Unit markAsUsed()
-
-
-
-