/** * Return a method matching the name, and non-return parameters with fully qualified types matching all the types in the list, if it exists. It * will not look up the supertype hierarchy. */ public Method getPublicMethod(String methodName, List parameterTypes) { return getMethod(methodName, parameterTypes, getPublicMethods()); }
/** * Return a method matching the name, and non-return parameters with fully qualified types matching all the types in the list, if it exists. It * will not look up the supertype hierarchy. */ public Method getPublicMethodExtended(String methodName, List parameterTypes) { return getMethod(methodName, parameterTypes, getPublicMethodsExtended()); }
/** * Overrides to ensure reflection is done. */ public boolean isAbstract() { reflectValues(); return isAbstractGen(); }
/** * Get the method of this name and these parameters. It will look up the supertype hierarchy. */ public Method getMethodExtended(String methodName, List parameterTypes) { if (isInterface()) return findInterfaceMethodExtended(methodName, parameterTypes); else return findClassMethodExtended(methodName, parameterTypes); }
/** * Override to perform some lazy initialization */ public EClassifier getComponentType() { // If we do not have a component type set, but we have a name (which contains our component type name) // we can compute the component type. if ((this.getComponentTypeGen() == null) && (this.getName() != null)) { componentType = computeComponentType(); } return getComponentTypeGen(); } /**
/** * Overrides to perform reflection if necessary */ public EList getClassImport() { reflectBase(); return getClassImportGen(); }
/** * Get the method of this name and these parameters. It will not look up the supertype hierarchy. */ public Method getMethod(String methodName, List parameterTypes) { return getMethod(methodName, parameterTypes, getMethods()); }
/** * Return the java class that this method is defined in. */ public JavaClass getContainingJavaClass() { return this.getJavaClass(); }
/** * Get the return type. */ public JavaHelpers getReturnType() { return (JavaHelpers) getEType(); }
/** * @generated This field/method will be replaced during code generation */ public JavaClass getJavaClass() { if (eContainerFeatureID != JavaRefPackage.INITIALIZER__JAVA_CLASS) return null; return (JavaClass)eContainer(); }
/** * @generated This field/method will be replaced during code generation. */ public Statement createStatement() { StatementImpl statement = new StatementImpl(); return statement; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public NotificationChain basicSetJavaClass(JavaClass newJavaClass, NotificationChain msgs) { msgs = eBasicSetContainer((InternalEObject)newJavaClass, JavaRefPackage.FIELD__JAVA_CLASS, msgs); return msgs; }
/** * To be used by people that need to get the qualified name used for reflection. Typically bean info would need to use something like this. */ public String getQualifiedNameForReflection() { return primGetQualifiedName(); }
public String getSignature() { if (signature == null) signature = doGetSignature(); return signature; }
/** * Returns true if the method is system generated. This is usually determined by the "generated" tag in the comment. */ public boolean isGenerated() { reflectGenerated(); return isGenerated; }
/** * @generated This field/method will be replaced during code generation. */ public Field createField() { FieldImpl field = new FieldImpl(); return field; }
/** * @generated This field/method will be replaced during code generation. */ public ArrayType createArrayType() { ArrayTypeImpl arrayType = new ArrayTypeImpl(); return arrayType; }
/** * @generated This field/method will be replaced during code generation. */ public JavaPackage createJavaPackage() { JavaPackageImpl javaPackage = new JavaPackageImpl(); return javaPackage; }
/** * @generated This field/method will be replaced during code generation. */ public JavaRefPackage getJavaRefPackage() { return (JavaRefPackage)getEPackage(); }
/** * URL constructor comment. */ public URL(String urlString) { initializeFromString(urlString); } /**