Class ContextUtil


  • public class ContextUtil
    extends Object
    misc utilities for dealing with contexts
    • Constructor Detail

      • ContextUtil

        public ContextUtil()
    • Method Detail

      • getConcreteClassFromContext

        public static IClass getConcreteClassFromContext​(Context c)
        Parameters:
        c - a context
        Returns:
        If this is an object-sensitive context that identifies a unique class for the receiver object, then return the unique class. Else, return null.
        Throws:
        IllegalArgumentException - if c is null