Preparing Makefiles, stub, skeleton, config files, etc. for porting LifxLightBulb...
[iot2.git] / iotjava / iotruntime / master / ClassRuntimeInstrumenterMaster.java
index 5c453e92dc5551e8f2f725dd29735355dcd0478c..154505795c0dac5a0bb39e297dd8f73fadacc445 100644 (file)
@@ -229,8 +229,6 @@ public class ClassRuntimeInstrumenterMaster extends ClassVisitor implements Opco
                 *  5) Initialize the field of the instrumented class objects with actual field objects
                 *  6) Run the init() function of the instrumented class
                 *
-                * @param  typeRef  int
-                * @param  typePath TypePath
                 * @param  desc     String
                 * @param  visible  boolean
                 * @return          AnnotationVisitor
@@ -239,10 +237,10 @@ public class ClassRuntimeInstrumenterMaster extends ClassVisitor implements Opco
                 *  This method visits annotation that is meta-annotated as TYPE_USE, so we can instrument @config here
                 */
                @Override
-               public AnnotationVisitor visitTypeAnnotation(int typeRef, TypePath typePath, 
-                       String desc, boolean visible) {
+               public AnnotationVisitor visitAnnotation(String desc,
+                       boolean visible) {
 
-                       //RuntimeOutput.print("ClassRuntimeInstrumenterMaster@AnnotationTypeVisitor: " + desc, bVerbose);
+                       //RuntimeOutput.print("ClassRuntimeInstrumenterMaster@AnnotationVisitor: " + desc, bVerbose);
 
                        // Check annotation description @config
                        if(desc.equals(STR_IOT_ANNOTATION_SIGNATURE)) {
@@ -271,7 +269,7 @@ public class ClassRuntimeInstrumenterMaster extends ClassVisitor implements Opco
                                        throw new Error("ClassRuntimeInstrumenterMaster@AnnotationTypeVisitor: " + strFieldDesc + " not recognized!");
                                }
                        }
-                       return super.visitTypeAnnotation(typeRef, typePath, desc, visible);
+                       return super.visitAnnotation(desc, visible);
                }
        }