public AnnotationMember(String name,Object val,Class type,Method m){
  this(name,val);
  definingMethod=m;
  if (type == int.class) {
    elementType=Integer.class;
  }
 else   if (type == boolean.class) {
    elementType=Boolean.class;
  }
 else   if (type == char.class) {
    elementType=Character.class;
  }
 else   if (type == float.class) {
    elementType=Float.class;
  }
 else   if (type == double.class) {
    elementType=Double.class;
  }
 else   if (type == long.class) {
    elementType=Long.class;
  }
 else   if (type == short.class) {
    elementType=Short.class;
  }
 else   if (type == byte.class) {
    elementType=Byte.class;
  }
 else {
    elementType=type;
  }
}

public AnnotationMember ( String name , Object val , Class type , Method m ) { this ( name , val ) ; definingMethod = m ; if ( type == int . class ) { elementType = Integer . class ; } else if ( type == boolean . class ) { elementType = Boolean . class ; } else if ( type == char . class ) { elementType = Character . class ; } else if ( type == float . class ) { elementType = Float . class ; } else if ( type == double . class ) { elementType = Double . class ; } else if ( type == long . class ) { elementType = Long . class ; } else if ( type == short . class ) { elementType = Short . class ; } else if ( type == byte . class ) { elementType = Byte . class ; } else { elementType = type ; } }
creates the completely defined element .
