O - public abstract class AbstractGenericCapableJavaSource<O extends JavaSource<O>> extends AbstractJavaSourceMemberHolder<O> implements GenericCapable<O>
body, document, enclosingType, loader, unit| Constructor and Description |
|---|
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 |
|---|---|
O |
addGenericType(String genericType) |
List<String> |
getGenericTypes() |
O |
removeGenericType(String genericType) |
addField, addField, addMethod, addMethod, getField, getFields, getMembers, getMethod, getMethod, getMethod, getMethods, hasField, hasField, hasMethod, hasMethodSignature, hasMethodSignature, hasMethodSignature, hasMethodSignature, removeField, removeMethodaddAnnotation, addAnnotation, addAnnotation, addImport, addImport, addImport, addImport, addInterface, addInterface, addInterface, equals, getAnnotation, getAnnotation, getAnnotations, getBodyDeclaration, getCanonicalName, getEnclosingType, getImport, getImport, getImport, getImport, getImports, getInterfaces, getInternal, getName, getNestedClasses, getOrigin, getPackage, getQualifiedName, getSyntaxErrors, getVisibility, hasAnnotation, hasAnnotation, hashCode, hasImport, hasImport, hasImport, hasImport, hasInterface, hasInterface, hasInterface, hasSyntaxErrors, isAnnotation, isClass, isDefaultPackage, isEnum, isInterface, isPackagePrivate, isPrivate, isProtected, isPublic, removeAnnotation, removeImport, removeImport, removeImport, removeImport, removeInterface, removeInterface, removeInterface, requiresImport, requiresImport, resolveType, setDefaultPackage, setName, setPackage, setPackagePrivate, setPrivate, setProtected, setPublic, setVisibility, toString, updateTypeNamesclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetSourceTypepublic 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<String> getGenericTypes()
getGenericTypes in interface GenericCapable<O extends JavaSource<O>>public O addGenericType(String genericType)
addGenericType in interface GenericCapable<O extends JavaSource<O>>public O removeGenericType(String genericType)
removeGenericType in interface GenericCapable<O extends JavaSource<O>>Copyright © 2013 JBoss by Red Hat. All Rights Reserved.