Class EagerComponentContainer<E extends IAndroidComponent>
java.lang.Object
soot.jimple.infoflow.android.manifest.containers.EagerComponentContainer<E>
- All Implemented Interfaces:
Iterable<E>,IComponentContainer<E>
public class EagerComponentContainer<E extends IAndroidComponent>
extends Object
implements IComponentContainer<E>
Component container for eager loading
- Author:
- Steven Arzt
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasList()Gets the components in this container as a listgetComponentByName(String name) Gets the component with the given unique class namebooleanisEmpty()Checks whether this container is empty, i.e., does not contain any componentsiterator()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface soot.jimple.infoflow.android.manifest.IComponentContainer
hasComponentByNameMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
EagerComponentContainer
-
-
Method Details
-
asList
Description copied from interface:IComponentContainerGets the components in this container as a list- Specified by:
asListin interfaceIComponentContainer<E extends IAndroidComponent>- Returns:
- A list that contains all the components in this container
-
iterator
- Specified by:
iteratorin interfaceIterable<E extends IAndroidComponent>
-
getComponentByName
Description copied from interface:IComponentContainerGets the component with the given unique class name- Specified by:
getComponentByNamein interfaceIComponentContainer<E extends IAndroidComponent>- Parameters:
name- The name of the class that implements the component- Returns:
- The component definition for the given class name, or
nullif no such component exists
-
isEmpty
public boolean isEmpty()Description copied from interface:IComponentContainerChecks whether this container is empty, i.e., does not contain any components- Specified by:
isEmptyin interfaceIComponentContainer<E extends IAndroidComponent>- Returns:
- True if this container is empty, false otherwise
-