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 anextends
bound to this parameter.JTypeParamDef
_extends(java.lang.String type)
Add anextends
bound to this parameter.JTypeParamDef
_extends(JType type)
Add anextends
bound to this parameter.JTypeParamDef
_super(java.lang.Class<?> type)
Add asuper
bound to this parameter.JTypeParamDef
_super(java.lang.String type)
Add asuper
bound to this parameter.JTypeParamDef
_super(JType type)
Add asuper
bound to this parameter.(package private) java.lang.Iterable<JType>
getExtends()
(package private) java.lang.String
getName()
(package private) java.lang.Iterable<JType>
getSuper()
(package private) void
write(SourceFileWriter sourceFileWriter)
private void
writeList(SourceFileWriter sourceFileWriter, java.util.ArrayList<JType> list, Tokens.$KW keyword)
-
-
-
Method Detail
-
_extends
public JTypeParamDef _extends(java.lang.String type)
Description copied from interface:JTypeParamDef
Add anextends
bound to this parameter.- Specified by:
_extends
in interfaceJTypeParamDef
- Parameters:
type
- the bound type- Returns:
- this type parameter definition
-
_extends
public JTypeParamDef _extends(JType type)
Description copied from interface:JTypeParamDef
Add anextends
bound to this parameter.- Specified by:
_extends
in interfaceJTypeParamDef
- Parameters:
type
- the bound type- Returns:
- this type parameter definition
-
_extends
public JTypeParamDef _extends(java.lang.Class<?> type)
Description copied from interface:JTypeParamDef
Add anextends
bound to this parameter.- Specified by:
_extends
in interfaceJTypeParamDef
- Parameters:
type
- the bound type- Returns:
- this type parameter definition
-
_super
public JTypeParamDef _super(java.lang.String type)
Description copied from interface:JTypeParamDef
Add asuper
bound to this parameter.- Specified by:
_super
in interfaceJTypeParamDef
- Parameters:
type
- the bound type- Returns:
- this type parameter definition
-
_super
public JTypeParamDef _super(JType type)
Description copied from interface:JTypeParamDef
Add asuper
bound to this parameter.- Specified by:
_super
in interfaceJTypeParamDef
- Parameters:
type
- the bound type- Returns:
- this type parameter definition
-
_super
public JTypeParamDef _super(java.lang.Class<?> type)
Description copied from interface:JTypeParamDef
Add asuper
bound to this parameter.- Specified by:
_super
in 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
-
-