com.sun.enterprise.admin.cli.schemadoc
Class AttributeMethodVisitor

java.lang.Object
  extended by com.sun.enterprise.admin.cli.schemadoc.EmptyVisitor
      extended by com.sun.enterprise.admin.cli.schemadoc.AttributeMethodVisitor
All Implemented Interfaces:
org.objectweb.asm.AnnotationVisitor, org.objectweb.asm.ClassVisitor, org.objectweb.asm.FieldVisitor, org.objectweb.asm.MethodVisitor

public class AttributeMethodVisitor
extends EmptyVisitor


Field Summary
private  ClassDef def
           
private  boolean duckTyped
           
private  String name
           
private  String type
           
 
Constructor Summary
AttributeMethodVisitor(ClassDef classDef, String method, String aggType)
           
 
Method Summary
private  boolean isSimpleType(String type)
           
 String toString()
           
 org.objectweb.asm.AnnotationVisitor visitAnnotation(String desc, boolean visible)
          Visits an annotation of this method.
 void visitEnd()
           
 
Methods inherited from class com.sun.enterprise.admin.cli.schemadoc.EmptyVisitor
visit, visit, visitAnnotation, visitAnnotationDefault, visitArray, visitAttribute, visitCode, visitEnum, visitField, visitFieldInsn, visitFrame, visitIincInsn, visitInnerClass, visitInsn, visitIntInsn, visitJumpInsn, visitLabel, visitLdcInsn, visitLineNumber, visitLocalVariable, visitLookupSwitchInsn, visitMaxs, visitMethod, visitMethodInsn, visitMultiANewArrayInsn, visitOuterClass, visitParameterAnnotation, visitSource, visitTableSwitchInsn, visitTryCatchBlock, visitTypeInsn, visitVarInsn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

def

private ClassDef def

name

private String name

type

private String type

duckTyped

private boolean duckTyped
Constructor Detail

AttributeMethodVisitor

public AttributeMethodVisitor(ClassDef classDef,
                              String method,
                              String aggType)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

visitAnnotation

public org.objectweb.asm.AnnotationVisitor visitAnnotation(String desc,
                                                           boolean visible)
Visits an annotation of this method.

Specified by:
visitAnnotation in interface org.objectweb.asm.ClassVisitor
Specified by:
visitAnnotation in interface org.objectweb.asm.FieldVisitor
Specified by:
visitAnnotation in interface org.objectweb.asm.MethodVisitor
Overrides:
visitAnnotation in class EmptyVisitor
Parameters:
desc - the class descriptor of the annotation class.
visible - true if the annotation is visible at runtime.
Returns:
a visitor to visit the annotation values, or null if this visitor is not interested in visiting this annotation.

visitEnd

public void visitEnd()
Specified by:
visitEnd in interface org.objectweb.asm.AnnotationVisitor
Specified by:
visitEnd in interface org.objectweb.asm.ClassVisitor
Specified by:
visitEnd in interface org.objectweb.asm.FieldVisitor
Specified by:
visitEnd in interface org.objectweb.asm.MethodVisitor
Overrides:
visitEnd in class EmptyVisitor

isSimpleType

private boolean isSimpleType(String type)


Copyright © 2012 GlassFish Community. All Rights Reserved.