It's actually getAttributesScope(
String name) - u can read as getAttribute'sScope(String name) as this method is used to get the scope of the given attribute.
public abstract int getAttributesScope(String name)Get the scope where a given attribute is defined.
Parameters:
name - the name of the attribute to return the scope for
Returns:
the scope of the object associated with the name specified or 0
Throws:
NullPointerException - if the name is null