Package org.jboss.jdeparser
Class ImplJTypeParamDef
- java.lang.Object
-
- org.jboss.jdeparser.ImplJTypeParamDef
-
- All Implemented Interfaces:
JTypeParamDef
class ImplJTypeParamDef extends java.lang.Object implements JTypeParamDef
-
-
Constructor Summary
Constructors Constructor Description ImplJTypeParamDef(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JTypeParamDef_extends(java.lang.Class<?> type)Add anextendsbound to this parameter.JTypeParamDef_extends(java.lang.String type)Add anextendsbound to this parameter.JTypeParamDef_extends(JType type)Add anextendsbound to this parameter.JTypeParamDef_super(java.lang.Class<?> type)Add asuperbound to this parameter.JTypeParamDef_super(java.lang.String type)Add asuperbound to this parameter.JTypeParamDef_super(JType type)Add asuperbound to this parameter.(package private) java.lang.Iterable<JType>getExtends()(package private) java.lang.StringgetName()(package private) java.lang.Iterable<JType>getSuper()(package private) voidwrite(SourceFileWriter sourceFileWriter)private voidwriteList(SourceFileWriter sourceFileWriter, java.util.ArrayList<JType> list, Tokens.$KW keyword)
-
-
-
Method Detail
-
_extends
public JTypeParamDef _extends(java.lang.String type)
Description copied from interface:JTypeParamDefAdd anextendsbound to this parameter.- Specified by:
_extendsin interfaceJTypeParamDef- Parameters:
type- the bound type- Returns:
- this type parameter definition
-
_extends
public JTypeParamDef _extends(JType type)
Description copied from interface:JTypeParamDefAdd anextendsbound to this parameter.- Specified by:
_extendsin interfaceJTypeParamDef- Parameters:
type- the bound type- Returns:
- this type parameter definition
-
_extends
public JTypeParamDef _extends(java.lang.Class<?> type)
Description copied from interface:JTypeParamDefAdd anextendsbound to this parameter.- Specified by:
_extendsin interfaceJTypeParamDef- Parameters:
type- the bound type- Returns:
- this type parameter definition
-
_super
public JTypeParamDef _super(java.lang.String type)
Description copied from interface:JTypeParamDefAdd asuperbound to this parameter.- Specified by:
_superin interfaceJTypeParamDef- Parameters:
type- the bound type- Returns:
- this type parameter definition
-
_super
public JTypeParamDef _super(JType type)
Description copied from interface:JTypeParamDefAdd asuperbound to this parameter.- Specified by:
_superin interfaceJTypeParamDef- Parameters:
type- the bound type- Returns:
- this type parameter definition
-
_super
public JTypeParamDef _super(java.lang.Class<?> type)
Description copied from interface:JTypeParamDefAdd asuperbound to this parameter.- Specified by:
_superin interfaceJTypeParamDef- Parameters:
type- the bound type- Returns:
- this type parameter definition
-
getName
java.lang.String getName()
-
getExtends
java.lang.Iterable<JType> getExtends()
-
getSuper
java.lang.Iterable<JType> getSuper()
-
writeList
private void writeList(SourceFileWriter sourceFileWriter, java.util.ArrayList<JType> list, Tokens.$KW keyword) throws java.io.IOException
- Throws:
java.io.IOException
-
write
void write(SourceFileWriter sourceFileWriter) throws java.io.IOException
- Throws:
java.io.IOException
-
-