Examples of toInstanceMethodName()


Examples of org.openquark.cal.services.CALFeatureName.toInstanceMethodName()

               
                return identifier.getTypeClassName().getQualifiedName() +
                       " " +
                       identifier.getTypeIdentifier() +
                       "@" +
                       calFeatureName.toInstanceMethodName();
               
            }
        }
        throw new IllegalArgumentException("feature type not supported: " + type);
    }
View Full Code Here

Examples of org.openquark.cal.services.CALFeatureName.toInstanceMethodName()

            } else if (metadata instanceof InstanceMethodMetadata) {
                ClassInstanceIdentifier classInstanceID = featureName.toInstanceIdentifier();
                ModuleTypeInfo moduleTypeInfoForFeature = owner.getPerspective().getMetaModule(featureName.toModuleName()).getTypeInfo();
                ClassInstance instance = moduleTypeInfoForFeature.getClassInstance(classInstanceID);
               
                CALDocComment caldoc = instance.getMethodCALDocComment(featureName.toInstanceMethodName());
                buffer.append(getBasicMetadataHtml(owner, metadata, caldoc));
                buffer.append(getInstanceMethodMetadataHtml(owner, (InstanceMethodMetadata) metadata, url, caldoc));
                buffer.append(getAdditionalMetadataHtml(owner, metadata, caldoc));
            }
        }
View Full Code Here

Examples of org.openquark.cal.services.CALFeatureName.toInstanceMethodName()

           
        } else if (method == NavAddress.INSTANCE_METHOD_METHOD) {

            CALFeatureName featureName = address.toFeatureName();
            QualifiedName typeClassName = featureName.toInstanceIdentifier().getTypeClassName();
            String methodName = featureName.toInstanceMethodName();
            QualifiedName classMethodName = QualifiedName.make(typeClassName.getModuleName(), methodName);
           
            GemEntity entity = owner.getPerspective().getWorkspace().getGemEntity(classMethodName);
           
            if (entity == null) {
View Full Code Here

Examples of org.openquark.cal.services.CALFeatureName.toInstanceMethodName()

            return typeStrings;
           
        } else if (method == NavAddress.INSTANCE_METHOD_METHOD) {
           
            CALFeatureName featureName = address.toFeatureName();
            String methodName = featureName.toInstanceMethodName();

            ClassInstance instance = owner.getPerspective().getMetaModule(featureName.toModuleName()).getTypeInfo().getClassInstance(featureName.toInstanceIdentifier());
           
            TypeExpr[] typePieces = instance.getInstanceMethodType(methodName).getTypePieces();
            String[] typeStrings = new String[typePieces.length];           
View Full Code Here

Examples of org.openquark.cal.services.CALFeatureName.toInstanceMethodName()

            adjustArgumentNames(collector, arguments);
           
        } else if (address.getMethod() == NavAddress.INSTANCE_METHOD_METHOD) {
            CALFeatureName featureName = address.toFeatureName();
            ModuleName typeClassModuleName = featureName.toInstanceIdentifier().getTypeClassName().getModuleName();
            String methodName = featureName.toInstanceMethodName();
           
            CALWorkspace workspace = owner.getPerspective().getWorkspace();
            GemEntity entity = workspace.getGemEntity(QualifiedName.make(typeClassModuleName, methodName));
            ClassInstance instance = workspace.getClassInstance(CALFeatureName.getClassInstanceFeatureName(featureName.toInstanceIdentifier(), featureName.toModuleName()));
           
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.