Examples of ElementValue


Examples of org.aspectj.apache.bcel.classfile.annotation.ElementValue

          if (countOfType > 1) {
            if (!nvp.getNameString().equals(name)) {
              continue;
            }
          }
          ElementValue o = nvp.getValue();
          if (o.getElementValueType() != elementValueType) {
            continue;
          }
          if (o instanceof EnumElementValue) {
            EnumElementValue v = (EnumElementValue) o;
            String s = v.getEnumTypeString();
View Full Code Here

Examples of org.aspectj.apache.bcel.classfile.annotation.ElementValue

              if (a.getTypeName().equals(UnresolvedType.AT_RETENTION.getName())) {
                  List values = a.getValues();
                  boolean isRuntime = false;
                  for (Iterator it = values.iterator(); it.hasNext();) {
                        ElementNameValuePair element = (ElementNameValuePair) it.next();
                        ElementValue v = element.getValue();
                        retentionPolicy = v.stringifyValue();
                        return retentionPolicy;
                    }
              }
          }
    }
View Full Code Here

Examples of org.aspectj.apache.bcel.classfile.annotation.ElementValue

              Annotation a = annotationsOnThisType[i];
              if (a.getTypeName().equals(UnresolvedType.AT_TARGET.getName())) {
                  List values = a.getValues();
                  for (Iterator it = values.iterator(); it.hasNext();) {
                        ElementNameValuePair element = (ElementNameValuePair) it.next();
                        ElementValue v = element.getValue();
                        String targetKind = v.stringifyValue();
                        if (targetKind.equals("ANNOTATION_TYPE")) {
              targetKinds.add(AnnotationTargetKind.ANNOTATION_TYPE);
                        } else if (targetKind.equals("CONSTRUCTOR")) {
              targetKinds.add(AnnotationTargetKind.CONSTRUCTOR);
            } else if (targetKind.equals("FIELD")) {
View Full Code Here

Examples of org.aspectj.apache.bcel.classfile.annotation.ElementValue

 
  /**
   * Retrieve an immutable version of this ElementNameValuePairGen
   */
  public ElementNameValuePair getElementNameValuePair() {
    ElementValue immutableValue = value.getElementValue();
    return new ElementNameValuePair(nameIdx,immutableValue,cpool.getConstantPool());
  }
View Full Code Here

Examples of org.geotools.xml.schema.ElementValue

                throws SAXException, OperationNotSupportedException {

            WMSCCapabilities capabilities = new WMSCCapabilities();

            for( int i = 0; i < value.length; i++ ) {
                ElementValue elementValue = value[i];
                // Service
                if (sameName(elems[0], elementValue)) {
                    Service x = ((Service)elementValue.getValue());
                    capabilities.setService(x);
                }
                // Capability
                if (sameName(elems[1], elementValue)) {
                    Capability c = ((Capability)elementValue.getValue());
                    capabilities.setCapabilitiy(c);
                }
                // VendorSpecificCapabilities
                if (sameName(elems[2], elementValue)) {
                    // vendor specific capabilities for 1.0alpha version of
                    // geowebcache; once geowebcache fixed up this should not be necessary as
                    // this should be inside a capabilities
                    Capability c= new Capability();
                    VendorSpecificCapabilities cs = ((VendorSpecificCapabilities)elementValue.getValue());
                    c.setVendorCapabilities(cs);
                    capabilities.setCapabilitiy(c);
                }
            }
View Full Code Here

Examples of org.geotools.xml.schema.ElementValue

              values = new Object[value.length+1];
              logger.finest("Getting value for " + element.getName() + ":" + name);
 
              // This seems to some how be for mixed content?  Don't really understand what
              // is going on here.
              values[0] = new ElementValue(){
          public Element getElement() {
            return null;
          }
 
          public Object getValue() {
View Full Code Here

Examples of org.gjt.jclasslib.structures.elementvalues.ElementValue

                lblTag = highlightLabel(),
                lblTagVerbose = highlightLabel());
    }

    public void show(TreePath treePath) {
        ElementValue ceve = (ElementValue)
                ((BrowserTreeNode)treePath.getLastPathComponent()).getElement();

        lblTag.setText(String.valueOf((char)ceve.getTag()));
        lblTagVerbose.setText("<" + ElementValue.getTagDescription(ceve.getTag()) + ">");

        super.show(treePath);
    }
View Full Code Here

Examples of org.gjt.jclasslib.structures.elementvalues.ElementValue

        add(genericInfoPane, BorderLayout.NORTH);
        add(specificInfoPane, BorderLayout.CENTER);
    }

    public void show(TreePath treePath) {
        ElementValue eve = (ElementValue)
                ((BrowserTreeNode)treePath.getLastPathComponent()).getElement();

        String paneName = null;
        if (eve instanceof ConstElementValue) {
            paneName = SCREEN_CONST_VALUE;
View Full Code Here

Examples of org.gjt.jclasslib.structures.elementvalues.ElementValue

                lblTag = highlightLabel(),
                lblTagVerbose = highlightLabel());
    }

    public void show(TreePath treePath) {
        ElementValue element = (ElementValue)
                ((BrowserTreeNode)treePath.getLastPathComponent()).getElement();

        lblTag.setText(String.valueOf((char)element.getTag()));
        lblTagVerbose.setText("<" + ElementValue.getTagDescription(element.getTag()) + ">");

        super.show(treePath);
    }
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.