O - public abstract class AbstractGenericCapableJavaSource<O extends JavaSource<O> & PropertyHolderSource<O>> extends AbstractJavaSourceMemberHolder<O> implements GenericCapableSource<O,O>
body, document, enclosingType, unit| Modifier | Constructor and Description |
|---|---|
protected |
AbstractGenericCapableJavaSource(JavaSource<?> enclosingType,
org.eclipse.jface.text.Document document,
org.eclipse.jdt.core.dom.CompilationUnit unit,
org.eclipse.jdt.core.dom.BodyDeclaration declaration) |
| Modifier and Type | Method and Description |
|---|---|
TypeVariableSource<O> |
addTypeVariable() |
TypeVariableSource<O> |
addTypeVariable(String name) |
TypeVariableSource<O> |
getTypeVariable(String name) |
List<TypeVariableSource<O>> |
getTypeVariables() |
boolean |
hasTypeVariable(String name) |
O |
removeTypeVariable(String name) |
O |
removeTypeVariable(TypeVariable<?> typeVariable) |
addField, addField, addInterface, addInterface, addInterface, addMethod, addMethod, addMethod, addMethod, addProperty, addProperty, addProperty, getField, getFields, getInterfaces, getMembers, getMethod, getMethod, getMethod, getMethods, getProperties, getProperties, getProperty, hasField, hasField, hasInterface, hasInterface, hasInterface, hasMethod, hasMethodSignature, hasMethodSignature, hasMethodSignature, hasMethodSignature, hasProperty, hasProperty, implementInterface, implementInterface, removeField, removeInterface, removeInterface, removeInterface, removeMethod, removePropertyaddAnnotation, addAnnotation, addAnnotation, addImport, addImport, addImport, addImport, addImport, addNestedType, addNestedType, addNestedType, equals, getAnnotation, getAnnotation, getAnnotations, getBodyDeclaration, getCanonicalName, getEnclosingType, getImport, getImport, getImport, getImport, getImports, getInternal, getJavaDoc, getName, getNestedType, getNestedTypes, getOrigin, getPackage, getQualifiedName, getSyntaxErrors, getVisibility, hasAnnotation, hasAnnotation, hashCode, hasImport, hasImport, hasImport, hasImport, hasJavaDoc, hasNestedType, hasNestedType, hasNestedType, hasSyntaxErrors, isAnnotation, isClass, isDefaultPackage, isEnum, isInterface, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, removeAllAnnotations, removeAnnotation, removeImport, removeImport, removeImport, removeImport, removeJavaDoc, removeNestedType, requiresImport, requiresImport, resolveType, setDefaultPackage, setName, setPackage, setPackagePrivate, setPrivate, setProtected, setPublic, setStatic, setVisibility, toString, toUnformattedString, updateTypeNamesprotected AbstractGenericCapableJavaSource(JavaSource<?> enclosingType, org.eclipse.jface.text.Document document, org.eclipse.jdt.core.dom.CompilationUnit unit, org.eclipse.jdt.core.dom.BodyDeclaration declaration)
public List<TypeVariableSource<O>> getTypeVariables()
getTypeVariables in interface GenericCapable<O extends JavaSource<O> & PropertyHolderSource<O>>getTypeVariables in interface GenericCapableSource<O extends JavaSource<O> & PropertyHolderSource<O>,O extends JavaSource<O> & PropertyHolderSource<O>>public TypeVariableSource<O> getTypeVariable(String name)
getTypeVariable in interface GenericCapable<O extends JavaSource<O> & PropertyHolderSource<O>>getTypeVariable in interface GenericCapableSource<O extends JavaSource<O> & PropertyHolderSource<O>,O extends JavaSource<O> & PropertyHolderSource<O>>public boolean hasTypeVariable(String name)
hasTypeVariable in interface GenericCapable<O extends JavaSource<O> & PropertyHolderSource<O>>public TypeVariableSource<O> addTypeVariable()
addTypeVariable in interface GenericCapableSource<O extends JavaSource<O> & PropertyHolderSource<O>,O extends JavaSource<O> & PropertyHolderSource<O>>public TypeVariableSource<O> addTypeVariable(String name)
addTypeVariable in interface GenericCapableSource<O extends JavaSource<O> & PropertyHolderSource<O>,O extends JavaSource<O> & PropertyHolderSource<O>>public O removeTypeVariable(String name)
removeTypeVariable in interface GenericCapableSource<O extends JavaSource<O> & PropertyHolderSource<O>,O extends JavaSource<O> & PropertyHolderSource<O>>public O removeTypeVariable(TypeVariable<?> typeVariable)
removeTypeVariable in interface GenericCapableSource<O extends JavaSource<O> & PropertyHolderSource<O>,O extends JavaSource<O> & PropertyHolderSource<O>>Copyright © 2017 JBoss by Red Hat. All rights reserved.