Forge - Parent 1.0.7-SNAPSHOT

org.jboss.forge.parser.java
Interface InterfaceCapable<T extends JavaSource<T>>

All Known Subinterfaces:
JavaClass, JavaInterface, JavaType<T>
All Known Implementing Classes:
AbstractJavaSource, AbstractJavaSourceMemberHolder, JavaAnnotationImpl, JavaClassImpl, JavaEnumImpl, JavaInterfaceImpl

public interface InterfaceCapable<T extends JavaSource<T>>

Author:
Lincoln Baxter, III

Method Summary
 T addInterface(Class<?> type)
           
 T addInterface(JavaInterface type)
           
 T addInterface(String type)
           
 List<String> getInterfaces()
           
 boolean hasInterface(Class<?> type)
           
 boolean hasInterface(JavaInterface type)
           
 boolean hasInterface(String type)
           
 T removeInterface(Class<?> type)
           
 T removeInterface(JavaInterface type)
           
 T removeInterface(String type)
           
 

Method Detail

getInterfaces

List<String> getInterfaces()

addInterface

T addInterface(String type)

addInterface

T addInterface(Class<?> type)

addInterface

T addInterface(JavaInterface type)

hasInterface

boolean hasInterface(String type)

hasInterface

boolean hasInterface(Class<?> type)

hasInterface

boolean hasInterface(JavaInterface type)

removeInterface

T removeInterface(String type)

removeInterface

T removeInterface(Class<?> type)

removeInterface

T removeInterface(JavaInterface type)

Forge - Parent 1.0.7-SNAPSHOT

Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.