void setWeavingCompleted(Class<?> clazz) { // weaving has completed; save the class and mark complete this.clazz = clazz; hookFlags |= FLAG_WEAVINGCOMPLETE; // Only notify listeners if weaving hooks were called. if ((hookFlags & FLAG_HOOKCALLED) == 0) return; // Only notify listeners if they haven't already been notified of // the terminal TRANSFORMING_FAILED state. if (error != null) return; // If clazz is null, a class definition failure occurred. setState(clazz == null ? DEFINE_FAILED : DEFINED); notifyWovenClassListeners(); }
void setWeavingCompleted(Class<?> clazz) { // weaving has completed; save the class and mark complete this.clazz = clazz; hookFlags |= FLAG_WEAVINGCOMPLETE; // Only notify listeners if weaving hooks were called. if ((hookFlags & FLAG_HOOKCALLED) == 0) return; // Only notify listeners if they haven't already been notified of // the terminal TRANSFORMING_FAILED state. if (error != null) return; // If clazz is null, a class definition failure occurred. setState(clazz == null ? DEFINE_FAILED : DEFINED); notifyWovenClassListeners(); }
void setWeavingCompleted(Class<?> clazz) { // weaving has completed; save the class and mark complete this.clazz = clazz; hookFlags |= FLAG_WEAVINGCOMPLETE; // Only notify listeners if weaving hooks were called. if ((hookFlags & FLAG_HOOKCALLED) == 0) return; // Only notify listeners if they haven't already been notified of // the terminal TRANSFORMING_FAILED state. if (error != null) return; // If clazz is null, a class definition failure occurred. setState(clazz == null ? DEFINE_FAILED : DEFINED); notifyWovenClassListeners(); }
void setWeavingCompleted(Class<?> clazz) { // weaving has completed; save the class and mark complete this.clazz = clazz; hookFlags |= FLAG_WEAVINGCOMPLETE; // Only notify listeners if weaving hooks were called. if ((hookFlags & FLAG_HOOKCALLED) == 0) return; // Only notify listeners if they haven't already been notified of // the terminal TRANSFORMING_FAILED state. if (error != null) return; // If clazz is null, a class definition failure occurred. setState(clazz == null ? DEFINE_FAILED : DEFINED); notifyWovenClassListeners(); }
void setWeavingCompleted(Class<?> clazz) { // weaving has completed; save the class and mark complete this.clazz = clazz; hookFlags |= FLAG_WEAVINGCOMPLETE; // Only notify listeners if weaving hooks were called. if ((hookFlags & FLAG_HOOKCALLED) == 0) return; // Only notify listeners if they haven't already been notified of // the terminal TRANSFORMING_FAILED state. if (error != null) return; // If clazz is null, a class definition failure occurred. setState(clazz == null ? DEFINE_FAILED : DEFINED); notifyWovenClassListeners(); }
void setWeavingCompleted(Class<?> clazz) { // weaving has completed; save the class and mark complete this.clazz = clazz; hookFlags |= FLAG_WEAVINGCOMPLETE; // Only notify listeners if weaving hooks were called. if ((hookFlags & FLAG_HOOKCALLED) == 0) return; // Only notify listeners if they haven't already been notified of // the terminal TRANSFORMING_FAILED state. if (error != null) return; // If clazz is null, a class definition failure occurred. setState(clazz == null ? DEFINE_FAILED : DEFINED); notifyWovenClassListeners(); }