1
package Padre::Document::Java;
6
use Padre::Constant ();
7
use Padre::Role::Task ();
8
use Padre::Document ();
10
our $VERSION = '0.92';
17
#####################################################################
18
# Padre::Document Task Integration
21
return 'Padre::Document::Java::FunctionList';
32
sub get_function_regex {
33
my $name = quotemeta $_[1];
38
(?: (public|protected|private|abstract|static|final|native|
39
synchronized|transient|volatile|strictfp)
40
\s+){0,2} # zero to 2 method modifiers
41
(?: <\w+>\s+ )? # optional: generic type parameter
42
(?: [\w\[\]<>]+) # return data type
47
# Java keyword list is obtained from src/scite/src/cpp.properties
48
sub scintilla_key_words {
51
abstract assert boolean break byte case catch char class
52
const continue default do double else enum extends final
53
finally float for goto if implements import instanceof int
54
interface long native new package private protected public
55
return short static strictfp super switch synchronized this
56
throw throws transient try var void volatile while
64
# Copyright 2008-2011 The Padre development team as listed in Padre.pm.
66
# This program is free software; you can redistribute it and/or
67
# modify it under the same terms as Perl 5 itself.