Package org.apache.beehive.netui.compiler.typesystem.type

Examples of org.apache.beehive.netui.compiler.typesystem.type.ClassType


                        return true;
                    }
                }
            }
           
            ClassType superType = classDecl.getSuperclass();
            classDecl = superType != null ? superType.getClassTypeDeclaration() : null;
        } while ( checkInheritedActions && classDecl != null );
       
       
        return false;
    }
View Full Code Here


       
        do
        {
            AnnotationInstance ann = getAnnotation( decl, unqualifiedName );
            if ( ann != null ) return ann;
            ClassType superType = decl.getSuperclass();
            TypeDeclaration superTypeDecl = getDeclaration( superType );
            decl = superTypeDecl instanceof ClassDeclaration ? ( ClassDeclaration ) superTypeDecl : null;
        } while ( decl != null );
       
        return null;
View Full Code Here

                    return method;
                }
            }
        }
       
        ClassType superclass = jclass.getSuperclass();
       
        if ( superclass != null )
        {
            return getClassMethod( getDeclaration( superclass ), methodName, desiredAnnotation, true );
        }
View Full Code Here

                    return field;
                }
            }
        }
       
        ClassType superclass = jclass.getSuperclass();
       
        if ( superclass != null )
        {
            return getClassField( getDeclaration( superclass ), fieldName, desiredAnnotation, true );
        }
View Full Code Here

                    if ( ! isDuplicate ) results.add( method );
                }
            }
        }
       
        ClassType superclass = jclass.getSuperclass();
       
        if ( superclass != null && ! getDeclaration( superclass ).getQualifiedName().startsWith( "java.lang." ) )
        {
            getClassMethods( getDeclaration( superclass ), desiredAnnotation, true, results );
        }
View Full Code Here

            {
                results.add( field );
            }
        }
       
        ClassType superclass = jclass.getSuperclass();
        if ( superclass != null ) getClassFields( getDeclaration( superclass ), true, results );
    }
View Full Code Here

            {
                results.add( nestedType );
            }
        }
       
        ClassType superclass = jclass.getSuperclass();
        if ( superclass != null ) getClassNestedTypes( getDeclaration( superclass ), true, results );
    }
View Full Code Here

        {
            if ( typesAreEqual( typeDecl, base ) ) return true;
           
            if ( typeDecl instanceof ClassDeclaration )
            {
                ClassType superclass = ( ( ClassDeclaration ) typeDecl ).getSuperclass();
                if ( superclass != null && isAssignableFrom( base, getDeclaration( superclass ) ) ) return true;
            }
           
            InterfaceType[] superInterfaces = typeDecl.getSuperinterfaces();
            for ( int i = 0; i < superInterfaces.length; i++ )
View Full Code Here

        //
        // Merge in all the controller annotations, starting with the most remote superclass first.
        //
        if ( jclass != null && jclass instanceof ClassDeclaration )
        {
            ClassType superClass = ( ( ClassDeclaration ) jclass ).getSuperclass();
            if ( superClass != null ) mergeControllerAnnotations( superClass.getDeclaration() );
            AnnotationInstance controllerAnnotation = CompilerUtils.getAnnotation( jclass, CONTROLLER_TAG_NAME );
            if ( controllerAnnotation != null ) mergeAnnotation( controllerAnnotation );
        }
    }
View Full Code Here

                atx.include(fields[i], fieldAnnotation);
                hasFieldAnnotations = true;
            }
        }

        ClassType superclass = jclass.getSuperclass();
        boolean superclassHasFieldAnns = false;
        if (superclass != null) {
            superclassHasFieldAnns = includeFieldAnnotations(atx, CompilerUtils.getDeclaration(superclass), additionalAnnotation);
        }
View Full Code Here

TOP

Related Classes of org.apache.beehive.netui.compiler.typesystem.type.ClassType

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.