MCPcopy Create free account

hub / github.com/armandAkop/Lifecycle-Sorter / functions

Functions22 in github.com/armandAkop/Lifecycle-Sorter

↓ 2 callersMethodappendToStart
Appends the sorted lifecycle methods to the start of the class. @param sortedMethods The sorted lifecycle methods
src/Sort/Sorter.java:127
↓ 1 callersMethodappendSortedMethods
Appends the sorted methods to the file @param sortedMethods The sorted methods to append
src/Sort/Sorter.java:100
↓ 1 callersMethodappendToEnd
Appends the sorted lifecycle methods to the end of the class. @param sortedMethods The sorted lifecycle methods
src/Sort/Sorter.java:117
↓ 1 callersMethodbuildSuperClassList
Recurses up the superclass chain of the PsiClass provided to determine if the chain contains Activity or Fragment as one of the base classes. This wil
src/Util/LifecycleUtils.java:83
↓ 1 callersMethodcreateLifecycle
(PsiClass psiClass, Map<String, PsiMethod> methods)
src/Lifecycle/LifecycleFactory.java:14
↓ 1 callersMethoddeleteUnsortedLifecycleMethods
Removes the collection of PsiMethods from the PsiClass @param methods the methods to remove from the PsiClass
src/Sort/Sorter.java:90
↓ 1 callersMethodgetLifeCycleType
Checks a list of superclasses of a PsiClass against the Activity/Fragment classes and support classes. @param psiClass @return true if a match is foun
src/Util/LifecycleUtils.java:46
↓ 1 callersMethodgetMethodsMap
Generates a Map of all the methods in the current class @return a Map of all the methods in the current class
src/Sort/Sorter.java:70
↓ 1 callersMethodgetPsiClassFromContext
@param e the action event that occurred @return The PSIClass object based on which class your mouse cursor was in
src/Action/SortAction.java:43
↓ 1 callersMethodresolvePackageToCompare
Cross checks the list of package names we've built up against the list of Activity package names and list of Fragment package names. @param superClass
src/Util/LifecycleUtils.java:61
↓ 1 callersMethodsort
Formats the activity/fragment lifecycle methods
src/Sort/Sorter.java:47
↓ 1 callersMethodsort
Sorts the lifecycle methods provided @return A Map of the method names and entire method definitions, respecting the sort order of mLifecycleOrdering
src/Lifecycle/Lifecycle.java:41
↓ 1 callersMethodsortLifecycleMethods
(final PsiClass psiClass)
src/Action/SortAction.java:27
MethodActivityLifecycle
(Map<String, PsiMethod> methods)
src/Lifecycle/ActivityLifecycle.java:40
MethodFragmentLifecycle
(Map<String, PsiMethod> methods)
src/Lifecycle/FragmentLifecycle.java:53
MethodLifecycle
(Map<String, PsiMethod> methods)
src/Lifecycle/Lifecycle.java:31
MethodLifecycleUtils
To Prevent instantiation
src/Util/LifecycleUtils.java:37
MethodSorter
@param psiClass The class whose methods to sort @param sortPosition The offset position in the class in which to place the sorted methods
src/Sort/Sorter.java:39
MethodactionPerformed
(AnActionEvent e)
src/Action/SortStartAction.java:11
MethodactionPerformed
(AnActionEvent e)
src/Action/SortAction.java:16
MethodactionPerformed
(AnActionEvent e)
src/Action/SortEndAction.java:11
Methodrun
()
src/Action/SortAction.java:29