org.jboss.errai.ioc.rebind.ioc.codegen.meta.impl.build
Class BuildMetaConstructor
java.lang.Object
org.jboss.errai.ioc.rebind.ioc.codegen.meta.MetaMethod
org.jboss.errai.ioc.rebind.ioc.codegen.meta.MetaConstructor
org.jboss.errai.ioc.rebind.ioc.codegen.meta.impl.build.BuildMetaConstructor
- All Implemented Interfaces:
- Builder, HasAnnotations, MetaClassMember, MetaGenericDeclaration, MetaType
public class BuildMetaConstructor
- extends MetaConstructor
- implements Builder
- Author:
- Mike Brock
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BuildMetaConstructor
public BuildMetaConstructor(BuildMetaClass declaringClass)
BuildMetaConstructor
public BuildMetaConstructor(BuildMetaClass declaringClass,
Statement body)
BuildMetaConstructor
public BuildMetaConstructor(BuildMetaClass declaringClass,
Statement body,
DefParameters defParameters)
getParameters
public MetaParameter[] getParameters()
- Specified by:
getParameters in class MetaConstructor
getGenericParameterTypes
public MetaType[] getGenericParameterTypes()
- Specified by:
getGenericParameterTypes in class MetaConstructor
isVarArgs
public boolean isVarArgs()
- Specified by:
isVarArgs in class MetaConstructor
getDeclaringClass
public MetaClass getDeclaringClass()
- Specified by:
getDeclaringClass in interface MetaClassMember
isAbstract
public boolean isAbstract()
- Specified by:
isAbstract in interface MetaClassMember
isPublic
public boolean isPublic()
- Specified by:
isPublic in interface MetaClassMember
isPrivate
public boolean isPrivate()
- Specified by:
isPrivate in interface MetaClassMember
isProtected
public boolean isProtected()
- Specified by:
isProtected in interface MetaClassMember
isFinal
public boolean isFinal()
- Specified by:
isFinal in interface MetaClassMember
isStatic
public boolean isStatic()
- Specified by:
isStatic in interface MetaClassMember
isTransient
public boolean isTransient()
- Specified by:
isTransient in interface MetaClassMember
isSynthetic
public boolean isSynthetic()
- Specified by:
isSynthetic in interface MetaClassMember
isSynchronized
public boolean isSynchronized()
- Specified by:
isSynchronized in interface MetaClassMember
setScope
public void setScope(Scope scope)
getAnnotations
public Annotation[] getAnnotations()
- Specified by:
getAnnotations in interface HasAnnotations
isAnnotationPresent
public boolean isAnnotationPresent(Class<? extends Annotation> annotation)
- Specified by:
isAnnotationPresent in interface HasAnnotations
getAnnotation
public <A extends Annotation> A getAnnotation(Class<A> annotation)
- Specified by:
getAnnotation in interface HasAnnotations
getTypeParameters
public MetaTypeVariable[] getTypeParameters()
- Specified by:
getTypeParameters in interface MetaGenericDeclaration
getBody
public Statement getBody()
setBody
public void setBody(Statement body)
setDefParameters
public void setDefParameters(DefParameters defParameters)
getName
public String getName()
- Specified by:
getName in class MetaMethod
getReturnType
public MetaClass getReturnType()
- Specified by:
getReturnType in class MetaMethod
getGenericReturnType
public MetaType getGenericReturnType()
- Specified by:
getGenericReturnType in class MetaMethod
toJavaString
public String toJavaString()
- Description copied from interface:
Builder
- Validates the statement and generates the String representation.
- Specified by:
toJavaString in interface Builder
- Returns:
- Java String representation
Copyright © 2011 JBoss, a division of Red Hat. All Rights Reserved.