protected LazilyInitializedInfo clone(boolean cloneTypeNodes) { LazilyInitializedInfo other = new LazilyInitializedInfo(); other.baseType = cloneType(baseType, cloneTypeNodes); other.extendedInterfaces = cloneTypeList(extendedInterfaces, cloneTypeNodes); other.implementedInterfaces = cloneTypeList(implementedInterfaces, cloneTypeNodes); other.parameters = cloneTypeMap(parameters, cloneTypeNodes); other.thrownTypes = cloneTypeList(thrownTypes, cloneTypeNodes); other.templateTypeNames = templateTypeNames == null ? null : new ArrayList<String>(templateTypeNames); other.disposedParameters = disposedParameters == null ? null : new HashSet<String>(disposedParameters); other.typeTransformations = typeTransformations == null ? null : new LinkedHashMap<String, Node>(typeTransformations); other.description = description; other.meaning = meaning; other.deprecated = deprecated; other.license = license; other.suppressions = suppressions == null ? null : ImmutableSet.copyOf(suppressions); other.modifies = modifies == null ? null : ImmutableSet.copyOf(modifies); other.lendsName = lendsName; other.propertyBitField = propertyBitField; return other; }
protected LazilyInitializedInfo clone(boolean cloneTypeNodes) { LazilyInitializedInfo other = new LazilyInitializedInfo(); other.baseType = cloneType(baseType, cloneTypeNodes); other.extendedInterfaces = cloneTypeList(extendedInterfaces, cloneTypeNodes); other.implementedInterfaces = cloneTypeList(implementedInterfaces, cloneTypeNodes); other.parameters = cloneTypeMap(parameters, cloneTypeNodes); other.thrownTypes = cloneTypeList(thrownTypes, cloneTypeNodes); other.templateTypeNames = templateTypeNames == null ? null : new ArrayList<>(templateTypeNames); other.disposedParameters = disposedParameters == null ? null : new HashSet<>(disposedParameters); other.typeTransformations = typeTransformations == null ? null : new LinkedHashMap<>(typeTransformations); other.description = description; other.meaning = meaning; other.deprecated = deprecated; other.license = license; other.suppressions = suppressions == null ? null : ImmutableSet.copyOf(suppressions); other.modifies = modifies == null ? null : ImmutableSet.copyOf(modifies); other.lendsName = cloneType(lendsName, cloneTypeNodes); other.propertyBitField = propertyBitField; return other; }
protected LazilyInitializedInfo clone() { return clone(false); }
void setJaggerProvide(boolean jaggerProvide) { lazyInitInfo(); info.setBit(Property.JAGGER_PROVIDE, jaggerProvide); }
void setNgInject(boolean ngInject) { lazyInitInfo(); info.setBit(Property.NG_INJECT, ngInject); }
boolean isBitSet(int bitIndex) { int mask = getMaskForBitIndex(bitIndex); return (mask & propertyBitField) != 0; }
void setWizaction(boolean wizaction) { lazyInitInfo(); info.setBit(Property.WIZ_ACTION, wizaction); }
void setJaggerModule(boolean jaggerModule) { lazyInitInfo(); info.setBit(Property.JAGGER_MODULE, jaggerModule); }
void setPolymerBehavior(boolean polymerBehavior) { lazyInitInfo(); info.setBit(Property.POLYMER_BEHAVIOR, polymerBehavior); }
void setJaggerProvidePromise(boolean jaggerProvidePromise) { lazyInitInfo(); info.setBit(Property.JAGGER_PROVIDE_PROMISE, jaggerProvidePromise); }
/** Returns whether JSDoc is annotated with {@code @mixinFunction} annotation. */ public boolean isMixinFunction() { return (info != null) && info.isBitSet(Property.MIXIN_FUNCTION); }
/** Returns whether JSDoc is annotated with {@code @mixinClass} annotation. */ public boolean isMixinClass() { return (info != null) && info.isBitSet(Property.MIXIN_CLASS); }
void setJaggerInject(boolean jaggerInject) { lazyInitInfo(); info.setBit(Property.JAGGER_INJECT, jaggerInject); }
/** Returns whether JSDoc is annotated with {@code @polymer} annotation. */ public boolean isPolymer() { return (info != null) && info.isBitSet(Property.POLYMER); }
void setWizaction(boolean wizaction) { lazyInitInfo(); info.setBit(Property.WIZ_ACTION, wizaction); }
void setNgInject(boolean ngInject) { lazyInitInfo(); info.setBit(Property.NG_INJECT, ngInject); }
@SuppressWarnings("MissingOverride") // Adding @Override breaks the GWT compilation. protected LazilyInitializedInfo clone() { return clone(false); }
/** * Returns whether JSDoc is annotated with {@code @jaggerModule} annotation. */ public boolean isJaggerModule() { return (info != null) && info.isBitSet(Property.JAGGER_MODULE); }
/** * Returns whether JSDoc is annotated with {@code @jaggerInject} annotation. */ public boolean isJaggerInject() { return (info != null) && info.isBitSet(Property.JAGGER_INJECT); }
void setMixinClass(boolean mixinClass) { lazyInitInfo(); info.setBit(Property.MIXIN_CLASS, mixinClass); }