Examples of ClassFile


Examples of org.jibx.binding.classes.ClassFile

       
        // nothing to be done if called on "this" or implicit reference
        if (!m_isThis && !m_isImplicit) {
       
            // first check direct access to property from method class
            ClassFile from = mb.getClassFile();
            ClassItem access = m_getMethod;
            if (access == null) {
                access = m_fieldItem;
            }
            if (access != null && !from.isAccessible(access)) {
                access = m_objContext.getBoundClass().
                    getLoadMethod(access, mb.getClassFile());
            }
       
            // generated instruction either loads a field value or calls a "get"
View Full Code Here

Examples of org.jibx.binding.classes.ClassFile

           
            // nothing to be done if called on "this" or implicit reference
            if (!m_isThis && !m_isImplicit) {
           
                // first check direct access to property from method class
                ClassFile from = mb.getClassFile();
                ClassItem access = m_setMethod;
                if (access == null) {
                    access = m_fieldItem;
                }
                if (!from.isAccessible(access)) {
                    access = m_objContext.getBoundClass().
                        getStoreMethod(access, mb.getClassFile());
                }
               
                // save to local if no way of getting value
View Full Code Here

Examples of org.netbeans.modules.classfile.ClassFile

     */
    private static final String findClassPackage (FileObject file) {
        try {
            InputStream in = file.getInputStream();
            try {
                ClassFile cf = new ClassFile(in,false);
                ClassName cn = cf.getName();
                return cn.getPackage();
            } finally {
                in.close ();
            }
        } catch (FileNotFoundException fnf) {
View Full Code Here

Examples of org.xmlvm.proc.in.file.ClassFile

  protected InputProcess<?> createInputProcess(UniversalFile input)
  {
    if (ClassFile.isClassInput(input))
    {
      // CLASS files.
      return new ClassInputProcess(arguments, new ClassFile(input));
    }
    else if (ExeFile.isExeInput(input))
    {
      // EXE files.
      return new ExeInputProcess(arguments, new ExeFile(input));
View Full Code Here

Examples of sun.tools.java.ClassFile

    pkg = getPackage(id.getQualifier());
      } catch (IOException e) {
    throw new IllegalArgumentException("IOException: " +
               e.getMessage());
      }
      ClassFile file = pkg.getBinaryFile(id.getName());
      if (file == null)
    throw new IllegalArgumentException("No file for: " +
               id.getName());
      BinaryClass bc;
      try {
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.