public class PropertySpecificUtil extends Object
Modifier and Type | Field and Description |
---|---|
static int |
CUSTOM_BITS_OFFSET |
static int |
TRAITABLE_BIT |
Constructor and Description |
---|
PropertySpecificUtil() |
public static final int TRAITABLE_BIT
public static final int CUSTOM_BITS_OFFSET
public static boolean isPropertyReactive(BuildContext context, ObjectType objectType)
public static boolean isPropertyReactive(BuildContext context, Class<?> objectClass)
public static BitMask getEmptyPropertyReactiveMask(int settablePropertiesSize)
public static BitMask onlyTraitBitSetMask()
public static BitMask allSetBitMask()
public static BitMask allSetButTraitBitMask()
public static boolean isAllSetPropertyReactiveMask(BitMask mask)
public static BitMask calculatePositiveMask(Collection<String> listenedProperties, List<String> accessibleProperties)
public static BitMask calculateNegativeMask(Collection<String> listenedProperties, List<String> accessibleProperties)
public static BitMask setPropertyOnMask(BitMask mask, List<String> settableProperties, String propertyName)
public static boolean isPropertySetOnMask(BitMask mask, int index)
public static List<String> getAccessibleProperties(InternalKnowledgeBase kBase, Class<?> nodeClass)
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.