Package ariba.util.fieldtype

Examples of ariba.util.fieldtype.PropertyInfo


            Collection allFields = getSemanticRecordsInPath(path);
            if (allFields != null) {
                Iterator iter = allFields.iterator();
                while (iter.hasNext()) {
                    SemanticRecord record = (SemanticRecord)iter.next();
                    PropertyInfo info = record.getPropertyInfo();
                    if (info != null && record.getSymbolKind() == Symbol.Field) {
                        result.add(info);
                    }
                }
            }
View Full Code Here


            Collection allFields = _symbolTable.getSymbolRecords(Symbol.Field);
            if (allFields != null) {
                Iterator iter = allFields.iterator();
                while (iter.hasNext()) {
                    SemanticRecord record = (SemanticRecord)iter.next();
                    PropertyInfo info = record.getPropertyInfo();
                    if (info != null) {
                        result.add(info);
                    }
                }
            }
View Full Code Here

            Collection allMethods = _symbolTable.getSymbolRecords(Symbol.Method);
            if (allMethods != null) {
                Iterator iter = allMethods.iterator();
                while (iter.hasNext()) {
                    SemanticRecord record = (SemanticRecord)iter.next();
                    PropertyInfo info = record.getPropertyInfo();
                    if (info != null) {
                        result.add(info);
                    }
                }
            }
View Full Code Here

        if (typeInfo == null) {
            // If the type info is not known, then return null for field info.
            return null;
        }

        PropertyInfo property =
            typeInfo.getPropertyResolver().resolvePropertyForName(
                _env.getTypeRetriever(), propertyName);

        if (property != null) {
            return property;
View Full Code Here

            return;
        }
        // Verify that the node is a field node (versus Type or Variable)
        Integer symbolKind = record.getSymbolKind();
        if (symbolKind == Symbol.Field) {
            PropertyInfo property = record.getPropertyInfo();
            if (property != null) {
                if (property instanceof FieldInfo) {
                     validate((FieldInfo)property,
                         (isLHS(node) ? SymbolUsageWrite : SymbolUsageRead));
                     return;
View Full Code Here

        }

        // Verify that the node is a method node
        Integer symbolKind = record.getSymbolKind();
        if (symbolKind == Symbol.Method) {
            PropertyInfo property = record.getPropertyInfo();
            if (property == null || !(property instanceof MethodInfo)) {
                addError(property, Fmt.S("The symbol '%s' does not resolve to a method.",
                    getMethodNameStr(node)));
                return;
            }
View Full Code Here

TOP

Related Classes of ariba.util.fieldtype.PropertyInfo

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.