public DecoratedTypeMirror(T delegate, DecoratedProcessingEnvironment env) { while (delegate instanceof DecoratedTypeMirror) { delegate = (T) ((DecoratedTypeMirror) delegate).delegate; } this.delegate = delegate; this.env = env; if (this.env.getTypeMirrorDecorations() != null) { for (TypeMirrorDecoration decoration : this.env.getTypeMirrorDecorations()) { decoration.applyTo(this); } } }
public DecoratedTypeMirror(T delegate, DecoratedProcessingEnvironment env) { while (delegate instanceof DecoratedTypeMirror) { delegate = (T) ((DecoratedTypeMirror) delegate).delegate; } this.delegate = delegate; this.env = env; if (this.env.getTypeMirrorDecorations() != null) { for (TypeMirrorDecoration decoration : this.env.getTypeMirrorDecorations()) { decoration.applyTo(this); } } }